summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/preference
Commit message (Collapse)AuthorAgeFilesLines
* Add a test helper class for ExtensionRegistry.limasdf@gmail.com2014-06-271-4/+5
| | | | | | | | | | | | And use it from c/e/b/extensions/. BUG=354046 R=yoz@chromium.org, thestig@chromium.org, kalman@chromium.org TEST=browser_tests Review URL: https://codereview.chromium.org/334083002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280415 0039d316-1c4b-4281-b951-d872f2087c98
* Exposes passwordSavingEnabled API from chrome privacy preference extension.ziran.sun@samsung.com2014-06-242-2/+9
| | | | | | | | | | | | | | | | This provides the following APIs at JavaScript level to enable/disable password saving. chrome.privacy.services.passwordSavingEnabled.get() chrome.privacy.services.passwordSavingEnabled.set() chrome.privacy.services.passwordSavingEnabled.clear() R=bauerb@chromium.org, gcasto@chromium.org, koz@chromium.org, sabineb@google.com BUG=61621 Review URL: https://codereview.chromium.org/290123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279363 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor the existing a11y preferences to reflect that that they are ↵rsadam@chromium.org2014-06-131-7/+7
| | | | | | | | | | accessibility specific. This is the first step in adding policies for non-accessibility versions of the same feature. BUG=376900 Review URL: https://codereview.chromium.org/328713005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277067 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Make ExtensionService:: and ExtensionPrefs::OnExtensionInstalledkalman@chromium.org2014-06-131-2/+0
| | | | | | | | | | | | | | take a bitmask instead of 4 boolean values (soon to be 5). As part of that, change the default-true flag "wait for idle" to a default-false flag "install immediately". R=asargent@chromium.org TBR=estade@chromium.org, atwilson@chromium.org, dimich@chromium.org Review URL: https://codereview.chromium.org/322893002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276999 0039d316-1c4b-4281-b951-d872f2087c98
* Remove deprecated permissions functions from Extensionrdevlin.cronin@chromium.org2014-06-062-2/+4
| | | | | | | | | | | | | | | | | | | | The methods GetActivePermission() and HasAPIPermission() have been deprecated for more than a year. Finally remove them. Also clean up some includes in extension.h, and fix transitive includes. BUG=379356 TBR=atwilson@chromium.org (c/b/background) TBR=yurys@chromium.org (c/b/devtools) TBR=bauerb@chromium.org (c/b/managed_mode) TBR=dalecurtis@chromium.org (c/b/media) TBR=dewittj@chromium.org (c/b/notifications) TBR=msw@chromium.org (c/b/ui) All TBRs are for strictly mechanical changes - no functional difference. Review URL: https://codereview.chromium.org/314113010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275531 0039d316-1c4b-4281-b951-d872f2087c98
* Rename NOTIFICATION_EXTENSION_UNINSTALLED to ↵limasdf@gmail.com2014-05-291-1/+1
| | | | | | | | | | | | NOTIFICATION_EXTENSION_UNINSTALLED_DEPRECATED Now ExtensionRegistry replace it(https://codereview.chromium.org/289073008/). BUG=376293 Review URL: https://codereview.chromium.org/296353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273498 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup extension_service.hrdevlin.cronin@chromium.org2014-05-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the Broken Window Theory holds true, then ExtensionService will never be cleaned up (and will, in fact, degrade faster than we can fix it) if it looks like it's messy. So, let's clean house! - Group overriden methods together, say what they override. - Move all comments to the original method declaration (i.e., if it's overriden from ExtensionServiceInterface, comment there). - Move accessors together. - Move for_test methods together. - Move methods which are not used publicly into private:. - Move simple getters/setters from the .cc to the .h. - Remove FRIEND_TESTs that should not be there. - Remove unneeded forward class declarations. - Remove unneeded includes.* *This one led to a BUNCH of fixes in other files, which relied on the transitive includes of extension_service.h. Sorry for the noise. BUG=351891 TBR=jochen@chromium.org (for every header file change - they're only fixing transitive includes) Review URL: https://codereview.chromium.org/296073003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@273424 0039d316-1c4b-4281-b951-d872f2087c98
* Moved IS_EPHEMERAL flag to extension prefstmdiep@chromium.org2014-05-221-0/+1
| | | | | | | | | | | | | | | | This patch moves the IS_EPHEMERAL flag from the Extension class to extension prefs. This is because an Extension object is immutable and this flag needs to be changed after creation to quickly promote a running ephemeral app to being installed. Otherwise the install must be delayed until the ephemeral app is closed. BUG=374018 TBR=sky@chromium.org TEST=All automated tests Review URL: https://codereview.chromium.org/282103003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272157 0039d316-1c4b-4281-b951-d872f2087c98
* components: Extract pref_registry component out of user_prefs.tfarina@chromium.org2014-05-151-1/+1
| | | | | | | | | | | | | | | The reason for doing this is that user_prefs depends on content_browser, which brings a lot of extra dependencies that takes a lot of time to build (yeah, I'm looking at you Blink and V8) and bookmarks is one of the targets that should not depend on content. BUG=359565 TEST=green trybots R=blundell@chromium.org, sky@chromium.org, yoz@chromium.org Review URL: https://codereview.chromium.org/271793003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@270722 0039d316-1c4b-4281-b951-d872f2087c98
* Rename (Chrome)SyncExtensionFunction::RunImpl to RunSync so that the RunImplkalman@chromium.org2014-04-304-12/+12
| | | | | | | | | | | | function doesn't require divergent return value semantics depending on subclass. BUG=365732 R=rockot@chromium.org TBR=pkasting@chromium.org,dtseng@chromium.org Review URL: https://codereview.chromium.org/252653002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267083 0039d316-1c4b-4281-b951-d872f2087c98
* Use EventRouter instead of ExtensionSystem::Get->event_router()limasdf@gmail.com2014-04-183-12/+7
| | | | | | | | | | all clean-up BUG=362672 Review URL: https://codereview.chromium.org/238633009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264765 0039d316-1c4b-4281-b951-d872f2087c98
* Remove //chrome dependency from ExtensionPrefsrockot@google.com2014-04-023-13/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ExtensionPrefs::Observer has been extended with additional methods to accomodate the needs of Chrome's contentSettings API implementation. The ContentSettingsStore instance which was previously hosted by ExtensionPrefs is now hosted by an independent (BCKS) ContentSettingsService. ExtensionsBrowserClient gets a new method to allow a client to inject ExtensionPrefs observers between construction and initialization. Chrome's implementation ensures that a ContentSettingsStore exists and adds it as an ExtensionPrefs observer. Somewhat unfortunately this means that ExtensionPrefs construction and initialization has been partially split to allow observers to be added prior to initialization. BUG=357749,162530 R=jamescook@chromium.org, yoz@chromium.org TBR=bauerb@chromium.org for c/b/content_settings, finnur@chromium.org for c/b/ui/webui/extensions Review URL: https://codereview.chromium.org/220353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261207 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PreferenceAPI dependency from ExtensionPrefs.rockot@chromium.org2014-03-282-89/+0
| | | | | | | | | | | | | | | The only dependency here is on some static methods that are only used by ExtensionPrefs. These should live inside the ExtensionPrefs module. (clang_format also applied, pardon the dust) BUG=357634,162530 R=scheib@chromium.org Review URL: https://codereview.chromium.org/217053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260272 0039d316-1c4b-4281-b951-d872f2087c98
* AccessibilityFeatures API implementationtbarzic@chromium.org2014-03-272-68/+113
| | | | | | | | | | | The API uses existing preference API infrastructure for reading and modifying browser preferences via extensions. BUG=346487 Review URL: https://codereview.chromium.org/206673005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259811 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce an extension parameter which is used to customize the extension. ↵vasilii@chromium.org2014-03-241-1/+2
| | | | | | | | | | | It's available for external extensions on Windows by using a registry key. The installer can set this parameter per user. BUG=267510 TBR=nkostylev@chromium.org,estade@chromium.org Review URL: https://codereview.chromium.org/196663003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258919 0039d316-1c4b-4281-b951-d872f2087c98
* Move extensions-related files to using //components/keyed_service.blundell@chromium.org2014-03-133-3/+3
| | | | | | | | | | | | | | | | | | | This CL removes the usage of //components/browser_context_keyed_service from: - //chrome/browser/extensions - //extensions It was constructed using the following: - move_source_file.py --already_moved - mffr.py - git cl format BUG=351704 TBR=yoz Review URL: https://codereview.chromium.org/197413002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256853 0039d316-1c4b-4281-b951-d872f2087c98
* Limit scope of settings API configuration and proxy permissionbattre@chromium.org2014-03-122-1/+4
| | | | | | | | | | | | | | | | The proxy API permission gave an extension super power: It gained complete incognito permission. This was introduced in r210766 and is reverted here. The reason for r210766 was that a proxy setting for regular mode was propagated into incognito mode. This propagation was based on the assumption that incognito mode inherits most settings from regular mode but has caused lots of confusion and several bug reports. With this CL, extensions can only affect settings of incognito mode if they have incognito permission. BUG=346125,290423 Review URL: https://codereview.chromium.org/184043024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256362 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get.yoz@chromium.org2014-03-054-24/+28
| | | | | | | | | | | | | Move it to extensions/browser. (Not extensions/browser/api, since it's now being used not just by API implementations.) This change is purely mechanical (some lines are more affected by clang-format than others). BUG=309909 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/178193030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254999 0039d316-1c4b-4281-b951-d872f2087c98
* Move ProfileKeyedAPI implementations to take BrowserContext in the ↵yoz@chromium.org2014-02-254-14/+18
| | | | | | | | | | | | constructor (part 2). Follows part 1: https://chromiumcodereview.appspot.com/171813010/ BUG=309909 Review URL: https://codereview.chromium.org/166053003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253187 0039d316-1c4b-4281-b951-d872f2087c98
* ExtensionSystem cleanup part 3yoz@chromium.org2014-02-142-2/+4
| | | | | | | | | | | | Fix most users of ExtensionSystemFactory::GetInstance() to use ExtensionsBrowserClient::Get()->GetExtensionSystemFactory(). Clean up extension_system_factory.h includes. Follows https://codereview.chromium.org/137753016/ BUG=337707 Review URL: https://codereview.chromium.org/148083014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251284 0039d316-1c4b-4281-b951-d872f2087c98
* Move TranslateLanguageList to the Translate componentdroger@chromium.org2014-02-052-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | A lot of static methods from TranslateManager are moved to TranslateDownloadManager, as they are related to the management of the TranslateLanguageList. The observer interface for translate events has been moved from TranslateManager to TranslateLanguageList. It also has been changed into a callback list rather than an observer list, since observers with a single method are generally discouraged. The SetSupportedLanguages() method in TranslateLanguageList has been moved from the anonymous namespace as it needs to invoke the callbacks for translate events. Finally, this CL fixes a bug where the TranslateList was not listening to ResourceRequestNotifications. BUG=335077, 335085, 339508 R=blundell@chromium.org, jochen@chromium.org, joi@chromium.org, mad@chromium.org TBR=jochen, joi, sky Review URL: https://codereview.chromium.org/143003020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248975 0039d316-1c4b-4281-b951-d872f2087c98
* Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1.yoz@chromium.org2014-01-302-2/+2
| | | | | | | | | | | | | This moves ExtensionSystem to extensions/browser. It also moves setting the channel for Features to ChromeExtensionsBrowserClient. It also removes the duplicate ExtensionSystem::GetForBrowserContext. BUG=337707 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/147923005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247788 0039d316-1c4b-4281-b951-d872f2087c98
* Clean up extension_util.h.derat@chromium.org2014-01-241-3/+2
| | | | | | | | | | | | | Make utility functions take BrowserContexts instead of ExtensionServices. Also move them from the extension_util namespace to extensions::util. BUG=315853,332985 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/145263009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246929 0039d316-1c4b-4281-b951-d872f2087c98
* Move ExtensionPrefs and friends to extensions/ directory.derat@chromium.org2014-01-223-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Move ExtensionPrefs and related classes from chrome/browser/extensions/ to the top-level extensions/ directory. The following classes are moved: ExtensionPrefStore ExtensionPrefValueMap ExtensionPrefValueMapFactory ExtensionPrefs ExtensionPrefsFactory ExtensionScopedPref The TestExtensionPrefs helper class and the ExtensionPrefsTest unit tests remain in chrome/browser/extensions, since TestExtensionPrefs has a dependency on Chrome's PrefServiceSyncable that seems like it will be difficult to break (more explanation at https://codereview.chromium.org/108643002/). BUG=313284 TBR=sky@chromium.org,pam@chromium.org Review URL: https://codereview.chromium.org/46853004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246373 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Replace &LazyInstance::Get() with LazyInstance::Pointer().thestig@chromium.org2014-01-212-2/+2
| | | | | | | | Also replace *LazyInstance::Pointer() with LazyInstance::Get(). Review URL: https://codereview.chromium.org/140613002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246142 0039d316-1c4b-4281-b951-d872f2087c98
* extensions: Relocate pref name constants.derat@chromium.org2014-01-161-1/+1
| | | | | | | | | | | | | | | | | | | Move extension-related pref name constants used by the ExtensionPrefs class from chrome/common/pref_names.h to extensions/browser/pref_names.h. Remove "Extension" from the beginning of the constant identifiers and "Pref" from the end since it seemed redundant now that they're in the extensions::pref_names namespace. Also delete prefs::kExtensionBlacklistUpdateVersion since it hasn't been used in about a year. BUG=313284 TBR=isherman@chromium.org,sky@chromium.org Review URL: https://codereview.chromium.org/140343002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245374 0039d316-1c4b-4281-b951-d872f2087c98
* Update some uses of Value in chrome/browser to use the base:: namespace.avi@chromium.org2013-12-234-33/+35
| | | | | | | | | | BUG=88666 TEST=no change TBR=ben@chromium.org Review URL: https://codereview.chromium.org/120783002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242389 0039d316-1c4b-4281-b951-d872f2087c98
* Move EventRouter to src/extensions/browserjamescook@chromium.org2013-11-213-3/+3
| | | | | | | | | | | | | | | | Now that its dependencies on Profile, ActivityLog, RuntimeAPI and WebRequestAPI have been removed it can move into the extensions module. This is part of the AppShell extensions refactoring project. BUG=316367 TEST=compiles R=yoz@chromium.org TBR=mukai@chromium.org for mechanical file move in c/b/notifications, dmazzoni@chromium.org for mechanical file move in accessibility code Review URL: https://codereview.chromium.org/78483003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236549 0039d316-1c4b-4281-b951-d872f2087c98
* Move Extension and PermissionsData to extensions/common.yoz@chromium.org2013-11-151-1/+1
| | | | | | | | | | BUG=298586 R=cdn@chromium.org, miket@chromium.org, sky@chromium.org TBR=cdn@chromium.org Review URL: https://codereview.chromium.org/15239002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235462 0039d316-1c4b-4281-b951-d872f2087c98
* Convert extensions::EventRouter from Profile to BrowserContextjamescook@chromium.org2013-11-131-1/+1
| | | | | | | | | | | | This is part of the AppShell extensions refactor project. BUG=316367 TEST=browser_tests, unit_tests TBR=dmazzoni@chromium.org for file renames in chrome/browser/speech Review URL: https://codereview.chromium.org/66583003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234727 0039d316-1c4b-4281-b951-d872f2087c98
* Move chrome/common/extensions/incognito_handler.h to src/extensionsjamescook@chromium.org2013-11-061-1/+1
| | | | | | | | | | | | | Part of moving ExtensionProcessManager to src/extensions BUG=313481 TEST=compiles R=yoz@chromium.org TBR=finnur@chromium.org for chrome/browser/ui/webui/extensions Review URL: https://codereview.chromium.org/61823004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233391 0039d316-1c4b-4281-b951-d872f2087c98
* extensions: Remove Blacklist dependency from ExtensionPrefs.derat@chromium.org2013-11-051-1/+1
| | | | | | | | | | | | | | | ExtensionPrefs, which I'm in the process of moving to the top-level extensions/ directory, depends on an enum value from the Blacklist class, which appears to be tied to safe browsing, a Chrome-specific feature. This change replaces ExtensionPrefs's use of the enum with a bool. BUG=313284 TBR=thestig@chromium.org, xiyuan@chromium.org Review URL: https://codereview.chromium.org/57563006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233140 0039d316-1c4b-4281-b951-d872f2087c98
* Move PermissionSet to top-level extensions.yoz@chromium.org2013-10-291-1/+1
| | | | | | | | | BUG=310171 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/42723002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231470 0039d316-1c4b-4281-b951-d872f2087c98
* Remove Profile dependency from ExtensionFunctionbenwells@chromium.org2013-10-284-29/+25
| | | | | | | | | | | | | This instead creates new variants of ExtensionFunction for Chrome APIs, which need Profile, and uses them for any API that needs to access Profiles. TBR=sky@chromium.org BUG=297942 Review URL: https://codereview.chromium.org/35893010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231406 0039d316-1c4b-4281-b951-d872f2087c98
* Settings Override API: extensions now can override the homepage.vasilii@chromium.org2013-10-251-1/+1
| | | | | | | | | BUG=267510 TBR=davemoore@chromium.org Review URL: https://codereview.chromium.org/40693002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231001 0039d316-1c4b-4281-b951-d872f2087c98
* Make ExtensionPrefValueMapFactory take BrowserContextjamescook@chromium.org2013-10-231-1/+1
| | | | | | | | | | | | | This is a trivial refactor towards breaking ExtensionPref's dependency on Profile. BUG=309909 TEST=compiles TBR=erg@chromium.org for a rename in profile_impl.cc Review URL: https://codereview.chromium.org/34603012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230411 0039d316-1c4b-4281-b951-d872f2087c98
* Add C++ fixture for extension settings browser testaboxhall@chromium.org2013-10-211-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/22791012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229959 0039d316-1c4b-4281-b951-d872f2087c98
* Moved some functions off ExtensionService into a new file extension_util.benwells@chromium.org2013-10-171-2/+5
| | | | | | | | | | | | | These functions do not need any internal state of ExtensionService, so do not need to be on the class itself. This makes it easier to understand what ExtensionService is doing (as it now does less) and easier to change. TBR=sky@chromium.org BUG=298537 Review URL: https://codereview.chromium.org/25366003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@229223 0039d316-1c4b-4281-b951-d872f2087c98
* Move APIPermission, APIPermissionSet, PermissionsInfo to top-level extensions.yoz@chromium.org2013-10-081-1/+1
| | | | | | | | | BUG=298586 TBR=sky@chromium.org Review URL: https://codereview.chromium.org/26024004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227409 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r223124: Don't clear existing extension-defined preferences and ↵bauerb@chromium.org2013-09-171-50/+132
| | | | | | | | | | | | | content settings when reloading or updating an extension. TBR=falken@chromium.org,sky@chromium.org BUG=284385 Original review: https://chromiumcodereview.appspot.com/23694020 Review URL: https://chromiumcodereview.appspot.com/23581015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223587 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 223124 "Don't clear existing extension-defined preference..."estade@chromium.org2013-09-131-126/+50
| | | | | | | | | | | | | | > Don't clear existing extension-defined preferences and content settings when reloading or updating an extension. > > BUG=284385 > > Review URL: https://chromiumcodereview.appspot.com/23694020 TBR=bauerb@chromium.org Review URL: https://codereview.chromium.org/24150002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223159 0039d316-1c4b-4281-b951-d872f2087c98
* Don't clear existing extension-defined preferences and content settings when ↵bauerb@chromium.org2013-09-131-50/+126
| | | | | | | | | | reloading or updating an extension. BUG=284385 Review URL: https://chromiumcodereview.appspot.com/23694020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223124 0039d316-1c4b-4281-b951-d872f2087c98
* Move extension prefs from ExtensionPrefs class to prefs namespace.bbudge@chromium.org2013-08-221-2/+1
| | | | | | | | | | | | | These prefs are used outside of extensions, so should be defined in pref_names.*. TBR=estade@chromium.org BUG=266569 Review URL: https://chromiumcodereview.appspot.com/22843005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219068 0039d316-1c4b-4281-b951-d872f2087c98
* Rename extension_manifest_keys namespace to extensions::manifest_keys.yoz@chromium.org2013-08-151-3/+0
| | | | | | | | | | | | | Move it to extensions/common/manifest_constants.cc. Minorly improve packaged app + manifest version 1 error message. BUG=162530 TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/22794012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217709 0039d316-1c4b-4281-b951-d872f2087c98
* c/b/extensions: Do not use Value::Create*.DHNishi@gmail.com2013-08-142-16/+16
| | | | | | | | | | src/tools/json_schema_compiler: Do not use Value::Create*. BUG=160586 Review URL: https://chromiumcodereview.appspot.com/22885002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217444 0039d316-1c4b-4281-b951-d872f2087c98
* Silently install blacklisted extensions from auto-install locations (sync,kalman@chromium.org2013-07-311-1/+3
| | | | | | | | | | | | | | policy, etc) into a blacklisted state, rather than not-silently not-installing them. This new behaviour is correct from a sync perspective, and the old behaviour is quite annoying. BUG=257677 R=yoz@chromium.org,isherman@chromium.org TBR=akalin@chromium.org,dimich@chromium.org,estade@chromium.org Review URL: https://chromiumcodereview.appspot.com/20217002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214806 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeOS: Add a per user and a local state network preference.pneubeck@chromium.org2013-07-221-1/+0
| | | | | | | | | | | | | | | - Adds a network preference kOpenNetworkProperties to user prefs. - Adds a network preference kDeviceOpenNetworkProperties to local state. - Both are lists of NetworkConfigurations according to the ONC spec. - For now, only policies are written to these prefs. - User settings continue to be stored in Shill for now. A follow up commit will change that too. BUG=258835 TBR=mpcomplete@chromium.org (trivial change in chrome_direct_setting_api.h) Review URL: https://chromiumcodereview.appspot.com/18348012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212872 0039d316-1c4b-4281-b951-d872f2087c98
* Replace PrefProxyConfigTracker typedef by proper interface.pneubeck@chromium.org2013-07-221-0/+1
| | | | | | | | | | | | | | - removes the PrefProxyConfigTracker typedef which depended on compile time flags. - PrefProxyConfigTracker is now a proper pure interface. - removes unnecessary exposure of ChromeProxyConfigService; which is now only used in PrefProxyConfigTrackerImpl - fixes includes where required BUG=258835 TBR=sky@chromium.org (API usages, fixed includes) Review URL: https://chromiumcodereview.appspot.com/18259025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212864 0039d316-1c4b-4281-b951-d872f2087c98
* Implemented types.private.ChromeDirectSetting.onChangerobliao@chromium.org2013-07-184-36/+222
| | | | | | | | | | | | | | | | | | | | This delta links up the onChange event machinery to the property change notification machinery. It follows a pattern established in PreferencesAPI and the PreferenceEventRouter. * Given a list of preferences, register event listener added observers to each preference. * On the first added event listener, unregister all observers and register all property change listeners. * On property changes, forward an event to each component extension that has a property listener added. BUG=164227 Review URL: https://chromiumcodereview.appspot.com/18100007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212307 0039d316-1c4b-4281-b951-d872f2087c98
* Remove plugin_list.h includes from chrome tests in preparation for moving ↵jam@chromium.org2013-07-181-1/+0
| | | | | | | | | | | webkit/plugins to content/. To do this, I simplified how we disable plugin loading for tests, and also updated the test in content to use the new way. BUG=237249 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/19706002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212249 0039d316-1c4b-4281-b951-d872f2087c98