Add PluginInfoStore class
Created attachment 59301 [details] Patch
Comment on attachment 59301 [details] Patch > Index: WebKit2/Shared/WebPreferencesStore.h > =================================================================== > --- WebKit2/Shared/WebPreferencesStore.h (revision 61578) > +++ WebKit2/Shared/WebPreferencesStore.h (working copy) > @@ -43,6 +43,7 @@ struct WebPreferencesStore { > { > encoder.encode(javaScriptEnabled); > encoder.encode(loadsImagesAutomatically); > + encoder.encode(pluginsEnabled); > encoder.encode(minimumFontSize); > encoder.encode(minimumLogicalFontSize); > encoder.encode(defaultFontSize); > @@ -61,6 +62,8 @@ struct WebPreferencesStore { > return false; > if (!decoder.decode(s.loadsImagesAutomatically)) > return false; > + if (!decoder.decode(s.pluginsEnabled)) > + return false; > if (!decoder.decode(s.minimumFontSize)) > return false; > if (!decoder.decode(s.minimumLogicalFontSize)) > @@ -86,6 +89,8 @@ struct WebPreferencesStore { > > bool javaScriptEnabled; > bool loadsImagesAutomatically; > + bool pluginsEnabled; You should mention in your changelog that you are also making this change to the preferences. Otherwise, looks good. r=me.
Committed r61587: <http://trac.webkit.org/changeset/61587>