summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_profile.h
Commit message (Collapse)AuthorAgeFilesLines
* Move more files from chrome/test to chrome/test/base, part #4phajdan.jr@chromium.org2011-08-011-399/+0
| | | | | | | BUG=90905 Review URL: http://codereview.chromium.org/7544021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94963 0039d316-1c4b-4281-b951-d872f2087c98
* Time-based removal of temporary file systems via BrowsingDataRemovermkwst@chromium.org2011-08-011-0/+4
| | | | | | | | | | | | QuotaManager takes over much of the functionality that BrowsingDataRemover implemented for FileSystem and Appcache removal. It also handles WebSQL databases, but I've left the database deletion in, as IndexedDBs aren't yet handled correctly, so we need to take care of them explicitly. BUG=63700 TEST=unit_tests, test_shell_tests Review URL: http://codereview.chromium.org/7129018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94913 0039d316-1c4b-4281-b951-d872f2087c98
* Back-end for shortcuts providergeorgey@chromium.org2011-07-221-0/+1
| | | | | | | | BUG=none TEST=unit-tested Review URL: http://codereview.chromium.org/7414001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93680 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the ProfileId. It was added for ceee. I reverted the original ↵jam@chromium.org2011-07-131-25/+1
| | | | | | | | | change, since it led to Profile being used in content unnecessarily. I also removed the extensions usage of it and instead kept a void*. BUG=76788 Review URL: http://codereview.chromium.org/7346024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92382 0039d316-1c4b-4281-b951-d872f2087c98
* Adding a test for the appcache removal functionality of BrowsingDataRemover.marja@google.com2011-07-121-0/+6
| | | | | | | | | | BUG=NONE TEST=BrowsingDataRemoverTest.RemoveAppCacheForever Review URL: http://codereview.chromium.org/7324046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92166 0039d316-1c4b-4281-b951-d872f2087c98
* Profiles: Make NTPResourceCache a ProfileKeyedService.erg@chromium.org2011-06-291-3/+0
| | | | | | | | | | BUG=77155 TEST=none Review URL: http://codereview.chromium.org/7248038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91049 0039d316-1c4b-4281-b951-d872f2087c98
* Changes TemplateURLModel into TemplateURLService. Changes all access points ↵erg@google.com2011-06-071-13/+9
| | | | | | | | | | | | | | to go through the newly made ProfileKeyedServiceFactory subclass. In addition, makes further modifications to the unit testing stuff because the TemplateURL tests change the active TemplateURLService on a profile during the test. BUG=77155 TEST=unit tests R=mirandac Review URL: http://codereview.chromium.org/7056056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88153 0039d316-1c4b-4281-b951-d872f2087c98
* Integrate file systems with BrowsingDataRemovermkwst@chromium.org2011-06-071-5/+7
| | | | | | | | | | | The functionality desired isn't entirely clear. This CL takes care of the bits that everyone agrees on: when a user deletes her browsing data "since the beginning of time" both persistent and temporary filesystems are removed entirely. What we do for other time periods is still up in the air. BUG=63700 TEST=unit_tests Review URL: http://codereview.chromium.org/7087020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88119 0039d316-1c4b-4281-b951-d872f2087c98
* Modifying the BackgroundModeManager to handle multiple profiles.rlp@chromium.org2011-05-281-1/+0
| | | | | | | | | | | | | | | The background mode manager is now owned by the broser The status tray is also owned by the browser process since there is only one per browser. Previously it was owned by the profile, but now that there are multiple profiles, it makes sense to have the browser process own it. Note: This CL does not unify the status tray into one icon. TEST=unittests (added BackgroundModeManagerTest::MultiProfile) BUG=80069, 82215 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86726 Review URL: http://codereview.chromium.org/6914021 Review URL: http://codereview.chromium.org/7008026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87119 0039d316-1c4b-4281-b951-d872f2087c98
* Adding `browsing_data_filesystem_helper*` as the first step towards content ↵mkwst@chromium.org2011-05-261-0/+3
| | | | | | | | | | | | | | settings UI. gypi files. BUG=63703 TEST=BrowsingDataFilesystemHelperTest* in `browser_tests` and `unit_tests` Review URL: http://codereview.chromium.org/7063020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86904 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 86724 - Modifying the BackgroundModeManager to handle multiple profiles.vandebo@chromium.org2011-05-251-0/+1
| | | | | | | | | | | | | | | | The background mode manager is now owned by the broser The status tray is also owned by the browser process since there is only one per browser. Previously it was owned by the profile, but now that there are multiple profiles, it makes sense to have the browser process own it. Note: This CL does not unify the status tray into one icon. TEST=unittests (added BackgroundModeManagerTest::MultiProfile) BUG=80069,82215 Review URL: http://codereview.chromium.org/6914021 TBR=rlp@chromium.org Review URL: http://codereview.chromium.org/7068025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86726 0039d316-1c4b-4281-b951-d872f2087c98
* Modifying the BackgroundModeManager to handle multiple profiles.rlp@chromium.org2011-05-251-1/+0
| | | | | | | | | | | | | The background mode manager is now owned by the broser The status tray is also owned by the browser process since there is only one per browser. Previously it was owned by the profile, but now that there are multiple profiles, it makes sense to have the browser process own it. Note: This CL does not unify the status tray into one icon. TEST=unittests (added BackgroundModeManagerTest::MultiProfile) BUG=80069,82215 Review URL: http://codereview.chromium.org/6914021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86724 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir and scoped_native_library back from base/memory to base.thakis@chromium.org2011-05-191-1/+1
| | | | | | | | | | | It looks like they got moved accidentally in http://codereview.chromium.org/6714032 BUG=none TEST=none Review URL: http://codereview.chromium.org/7048007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86010 0039d316-1c4b-4281-b951-d872f2087c98
* Profile shouldn't own Session/TabRestore services.torne@chromium.org2011-04-281-10/+0
| | | | | | | | | | | | | | BaseSessionService is now a ProfileKeyedService. Its subclasses, SessionService and TabRestoreService, are now accessed through factories. BUG=77155 TEST=existing tests Review URL: http://codereview.chromium.org/6901031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83325 0039d316-1c4b-4281-b951-d872f2087c98
* With this implementation, logging on to sync logs you in to the multiprofile ↵mirandac@chromium.org2011-04-281-0/+1
| | | | | | | | | | | | | | | | | system (if --multi-profiles flag is on). A drop-down menu then appears, from which you can create a new profile; this will open a browser window from which you can sync to a different Google account. When the browser is shut down, the active profile is saved. This profile will be used when the browser is reopened. Many things need to be added -- there's no duplicate checking, no way to delete a profile, and no color scheme -- etc. This is just the most basic multi-profile functionality. BUG=60105 TEST=existing tests; full suite to come. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83261 Review URL: http://codereview.chromium.org/6881054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83284 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r83261 "With this implementation, logging on to sync logs you in to ↵maruel@chromium.org2011-04-281-1/+0
| | | | | | | | | | | | | | the multiprofile ..." Broke Linux Builder (dbg)(shlib) TBR=mirandac@chromium.org BUG= TEST= Review URL: http://codereview.chromium.org/6902097 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83263 0039d316-1c4b-4281-b951-d872f2087c98
* With this implementation, logging on to sync logs you in to the multiprofile ↵mirandac@chromium.org2011-04-281-0/+1
| | | | | | | | | | | | | | | | system (if --multi-profiles flag is on). A drop-down menu then appears, from which you can create a new profile; this will open a browser window from which you can sync to a different Google account. When the browser is shut down, the active profile is saved. This profile will be used when the browser is reopened. Many things need to be added -- there's no duplicate checking, no way to delete a profile, and no color scheme -- etc. This is just the most basic multi-profile functionality. BUG=60105 TEST=existing tests; full suite to come. Review URL: http://codereview.chromium.org/6881054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83261 0039d316-1c4b-4281-b951-d872f2087c98
* Add 1st cut of QuotaManager codekinuko@chromium.org2011-04-271-0/+1
| | | | | | | | | | | | | | No persistent storage support yet. Some notes: - There are a lot of TODOs especially for persistent type storage handling. - QuotaTask base class is for now only subclassed by QuotaInitializeTask, but it is planned to add more subclasses. BUG=61676,79639 TEST=QuotaManagerTest.* Review URL: http://codereview.chromium.org/6826052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83145 0039d316-1c4b-4281-b951-d872f2087c98
* Profile shouldn't own ProfilePolicyConnector. Introduce ↵jknotten@chromium.org2011-04-271-1/+0
| | | | | | | | | | | | | | | | | | BrowserPolicyConnector::Create. ProfilePolicyConnector is now owned by ProfilePolicyConnectorFactory, using Profile has a key. This uses the ProfileKeyedService infrastructure originally created for ThemeServiceFactory. Also introduce BrowserPolicyConnector::Create method to faciliate stubbing out for binary-size reduction purposes. BUG=77155 TEST=Existing Review URL: http://codereview.chromium.org/6902036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83143 0039d316-1c4b-4281-b951-d872f2087c98
* Stop reference counting BaseSessionService.torne@chromium.org2011-04-261-1/+1
| | | | | | | | | | | | | | | BaseSessionService already uses ScopedRunnableMethodFactory to post its tasks, so there is no need for it to be reference counted as only Profile will ever have a reference on it. It holds a pointer to the Profile so it's unsafe for it to continue to exist after the Profile's destruction in any case. BUG=79886 TEST=existing tests Review URL: http://codereview.chromium.org/6877043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83027 0039d316-1c4b-4281-b951-d872f2087c98
* Don't hold the installed app in BrowserProcessRenderHost, since that's in ↵jam@chromium.org2011-04-231-2/+2
| | | | | | | | content layer now. ExtensionService keeps a map from renderer child ids to installed extensions instead. Review URL: http://codereview.chromium.org/6880089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82797 0039d316-1c4b-4281-b951-d872f2087c98
* PrerenderManager is no longer refcounted.cbentzel@chromium.org2011-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The PrerenderManager should be destroyed on the UI thread, along with the PrerenderContents that it owns. I originally did this by using the DeleteOnUIThread trait, but this leaked PrerenderManager's during browser shutdown, since the last reference was held by an object on the IO thread, and the DeleteTask was never processed. Now, the Profile owns the PrerenderManager's lifetime. All other references to the PrerenderManager are weak references. With the current thread-safety restrictions of WeakPtr's, this means that the presence of a PrererenderManager can not be checked on the IO thread, so all LOAD_PREFETCH requests will have a PrerenderResourceHandler constructed, regardless of whether the current profile supports prerendering. BUG=77930 TEST=Existing unit tests and browser tests. Review URL: http://codereview.chromium.org/6877085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82669 0039d316-1c4b-4281-b951-d872f2087c98
* [Extensions] Make ExtensionService not be ref-countedakalin@chromium.org2011-04-201-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use weak pointers instead, which makes it easier to reason about lifetimes. Make CrxInstaller et al. use a weak pointer instead. Add MakeCrxInstaller() function to ExtensionService. Make WebUI handlers use a raw pointer (since they will always get destroyed before the profile does). Make tests use raw or scoped pointers, as appropriate. Rename extensions_service to extension_service where encountered. Add checks for BrowserThread::PostTask. BUG= TEST= Review URL: http://codereview.chromium.org/6873065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82257 0039d316-1c4b-4281-b951-d872f2087c98
* [Sync] Move some extension-sync-related logic to ExtensionServiceakalin@chromium.org2011-04-171-1/+2
| | | | | | | | | | | | | | | | Add ExtensionSyncData class to hold the data that goes between the extension service and extension sync. Add ProcessSyncData() method to ExtensionService (with unit tests!). Remove now-unneeded extension sync functions. BUG=77995 TEST= Review URL: http://codereview.chromium.org/6852029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81899 0039d316-1c4b-4281-b951-d872f2087c98
* Create a content::ResourceContext.willchan@chromium.org2011-04-151-0/+6
| | | | | | | | | | | | | | | | Each Profile will have a ResourceContext which lives within the ProfileIOData on the IO thread, although it is created on the UI thread (since that's where the ProfileIOData is created). Move webkit_database::DatabaseTracker into ResourceContext and out of ChromeURLRequestContext. Fixed WorkerProcessHost to create its own ResourceMessageFilter that uses a URLRequestContextOverride pointing to its own URLRequestContext, rather than using the default request context. BUG=78596 TEST=existing Review URL: http://codereview.chromium.org/6825038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81774 0039d316-1c4b-4281-b951-d872f2087c98
* Put back "Enable component extensions for DefaultProfile used in login ↵dpolukhin@chromium.org2011-04-151-1/+1
| | | | | | | | | | | | | screen dialogs" Initial commit: http://src.chromium.org/viewvc/chrome?view=rev&revision=79526 BUG=chromium-os:12741 TEST=Run debug Chrome on device Review URL: http://codereview.chromium.org/6737028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81770 0039d316-1c4b-4281-b951-d872f2087c98
* Profile shouldn't own background page stuff.torne@chromium.org2011-04-151-1/+0
| | | | | | | | | | | | | | BackgroundContentsService and BackgroundModeManager now have factories which own them, using Profile as a key. This uses the ProfileKeyedService infrastructure. BUG=77155 TEST=existing tests Review URL: http://codereview.chromium.org/6831016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81723 0039d316-1c4b-4281-b951-d872f2087c98
* Profile shouldn't own DesktopNotificationService.torne@chromium.org2011-04-131-5/+0
| | | | | | | | | | | | | | DesktopNotificationService is now owned by DesktopNotificationServiceFactory, using Profile as a key. This uses the ProfileKeyedService infrastructure originally created for ThemeServiceFactory. BUG=77155 TEST=existing tests Review URL: http://codereview.chromium.org/6803012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81399 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 81277 - Profile shouldn't own ↵siggi@chromium.org2011-04-121-0/+5
| | | | | | | | | DesktopNotificationService.DesktopNotificationService is now owned byDesktopNotificationServiceFactory, using Profile as a key. This uses theProfileKeyedService infrastructure originally created forThemeServiceFactory.BUG=77155TEST=existing testsReview URL: http://codereview.chromium.org/6803012 TBR=torne@chromium.org Review URL: http://codereview.chromium.org/6813116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81280 0039d316-1c4b-4281-b951-d872f2087c98
* Profile shouldn't own DesktopNotificationService.torne@chromium.org2011-04-121-5/+0
| | | | | | | | | | | | | | DesktopNotificationService is now owned by DesktopNotificationServiceFactory, using Profile as a key. This uses the ProfileKeyedService infrastructure originally created for ThemeServiceFactory. BUG=77155 TEST=existing tests Review URL: http://codereview.chromium.org/6803012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81277 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of extensions dependency from content\browser.jam@chromium.org2011-04-041-0/+9
| | | | | | | BUG=76789 Review URL: http://codereview.chromium.org/6693054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80315 0039d316-1c4b-4281-b951-d872f2087c98
* Create a ProfileDependencyManager to order ProfileKeyedService destruction.erg@google.com2011-03-311-0/+8
| | | | | | | | | | | | | | | | | Since ProfileKeyedServices need to be able to specify complex graphs representing their dependencies on other ProfileKeyedServices, add a simple ::DependsOn() method to explicitly state these dependencies and a singleton manager in the background that does a topological sort to get a safe destruction ordering. This changes ThemeServiceFactory to use this new system, which also revealed a bunch of unsafe casting of Source<> pointers and NotificationCenter misuse between incompatible types. (Source<> uses void* underneath and therefore can't increment/decrement the pointer during casting.) BUG=77155 TEST=compiles, new ProfileDependencyManagerUnittests.* Review URL: http://codereview.chromium.org/6766004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80093 0039d316-1c4b-4281-b951-d872f2087c98
* Moved URLRequestContextGetter to net/ so it can be used by projects such as ↵sanjeevr@chromium.org2011-03-311-8/+11
| | | | | | | | | | jingle. BUG=None TEST=Build. Review URL: http://codereview.chromium.org/6778025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80033 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unused has_history_service flag in TestingProfileakalin@chromium.org2011-03-291-7/+0
| | | | | | | | | | BUG= TEST= Review URL: http://codereview.chromium.org/6749031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79730 0039d316-1c4b-4281-b951-d872f2087c98
* Move some files from base to base/memory.levin@chromium.org2011-03-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98
* Removing off the record references from TestingProfile and RenderMessageFilter.vipul.bhasin@gmail.com2011-03-251-4/+4
| | | | | | | | | | BUG=3333 TEST=NONE Review URL: http://codereview.chromium.org/6683037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79432 0039d316-1c4b-4281-b951-d872f2087c98
* Remove TopSites dependency from content/ in anticipation of pulling it out ↵erg@google.com2011-03-241-4/+0
| | | | | | | | | | | | | of Profile. (Also remove another BrowserThemeProvider reference) BUG=77155 TEST=compiles Review URL: http://codereview.chromium.org/6733009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79305 0039d316-1c4b-4281-b951-d872f2087c98
* Theme system cleanuperg@google.com2011-03-231-2/+2
| | | | | | | | | | | | | | | | | - Removes useless dependencies on themeing from content/ - Renames BrowserThemeProvider to ThemeService, along with name variants such as GtkThemeService. BrowserThemeProvider has grown by a lot to be more than an implementation of the ui::ThemeProvider interface. This change touches everything. - Rename theme_service.{h,cc} (which defined ThemeServiceFactory) to theme_service_factory.{h,cc}. BUG=77155 TEST=compiles. Review URL: http://codereview.chromium.org/6727005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79145 0039d316-1c4b-4281-b951-d872f2087c98
* Profile shouldn't own BrowserThemeProviders; A ThemeService should and ↵erg@google.com2011-03-221-10/+0
| | | | | | | | | | | | | | | should give back a BTP when presented with a Profile. This removes all Profile methods that deal with themes. A profile is now just the key that ThemeService maps to a BrowserThemeProvider. Any user of a BrowserThemeProvider asks ThemeService::GetForProfile() instead of the now deleted Profile::GetThemeProvider() method. Why do this? Because this will drastically reduce coupling. Right now, the Profile knows about pretty much every major object in chrome/browser/. This should allow easier compile time removal of certain systems. BUG=profile effort TEST=existing tests Review URL: http://codereview.chromium.org/6714003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79001 0039d316-1c4b-4281-b951-d872f2087c98
* This is an extension of http://codereview.chromium.org/6280018 that provides ↵battre@chromium.org2011-03-161-4/+0
| | | | | | | | | | | | | a proxy configuration which respects command line parameters and policies This was committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78228, iyengar asked to commit again after fixing trunk. BUG=67232,70732 TEST=Start chrome, observe two PROXY_CONFIG_CHANGED events in about:net-internals (if you are on a corporate network with PAC configurations), observe that everything behaves as usual. In particular the https://www.google.com/searchdomaincheck?format=domain&type=chrome request should not fail as it uses the new system URLRequestContext. Review URL: http://codereview.chromium.org/6292017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78362 0039d316-1c4b-4281-b951-d872f2087c98
* Initial support for partitioning cookies for isolated apps.creis@google.com2011-03-151-0/+4
| | | | | | | | | | | | | | | | This CL adds experimental support for letting installed apps request isolated storage in their manifest. An isolated app will have its own cookie store that is not shared with other apps or normal pages, even if they share an origin. The feature is currently behind a --enable-experimental-app-manifests flag. BUG=69335 TEST=ExtensionManifestTest.IsolatedApps TEST=IsolatedAppApiTest.CookieIsolation* Review URL: http://codereview.chromium.org/6201005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78301 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 78228 - Extended: Add "system" URLRequestContext (not ready for use!)jam@chromium.org2011-03-151-0/+4
| | | | | | | | | | | | | | This is an extension of http://codereview.chromium.org/6280018 that provides a proxy configuration which respects command line parameters and policies BUG=67232,70732 TEST=Start chrome, observe two PROXY_CONFIG_CHANGED events in about:net-internals (if you are on a corporate network with PAC configurations), observe that everything behaves as usual. In particular the https://www.google.com/searchdomaincheck?format=domain&type=chrome request should not fail as it uses the new system URLRequestContext. Review URL: http://codereview.chromium.org/6292017 TBR=battre@chromium.org Review URL: http://codereview.chromium.org/6693023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78240 0039d316-1c4b-4281-b951-d872f2087c98
* Extended: Add "system" URLRequestContext (not ready for use!)battre@chromium.org2011-03-151-4/+0
| | | | | | | | | | | This is an extension of http://codereview.chromium.org/6280018 that provides a proxy configuration which respects command line parameters and policies BUG=67232,70732 TEST=Start chrome, observe two PROXY_CONFIG_CHANGED events in about:net-internals (if you are on a corporate network with PAC configurations), observe that everything behaves as usual. In particular the https://www.google.com/searchdomaincheck?format=domain&type=chrome request should not fail as it uses the new system URLRequestContext. Review URL: http://codereview.chromium.org/6292017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78228 0039d316-1c4b-4281-b951-d872f2087c98
* cd Move prerender specific functionality out of TabContents into a tab contenttburkard@chromium.org2011-03-081-0/+2
| | | | | | | | observer. Review URL: http://codereview.chromium.org/6648001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77370 0039d316-1c4b-4281-b951-d872f2087c98
* Removing references to off the record in comments and log messages.akalin@chromium.org2011-03-081-1/+1
| | | | | | | | | | | Original patch by vipul.bhasin@gmail.com. BUG=3333 TEST=None Review URL: http://codereview.chromium.org/6625076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77331 0039d316-1c4b-4281-b951-d872f2087c98
* cleanup: make OnLogin to be pure virtual as all methods around.dilmah@chromium.org2011-03-041-0/+2
| | | | | | | | | BUG=None TEST=None Review URL: http://codereview.chromium.org/6624017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76922 0039d316-1c4b-4281-b951-d872f2087c98
* Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarderjochen@chromium.org2011-03-011-1/+0
| | | | | | | | | BUG=73903 TEST=tests for proxy and webrequest API should still work Review URL: http://codereview.chromium.org/6598002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76372 0039d316-1c4b-4281-b951-d872f2087c98
* Add an accessor for an ExtensionSpecialStoragePolicy to the Profile classmichaeln@google.com2011-02-261-0/+5
| | | | | | | | | | | and use it in the extension service, data remover, and storage subsystems. BUG=52357 TEST=extension_service_unittest.cc Review URL: http://codereview.chromium.org/6551028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76126 0039d316-1c4b-4281-b951-d872f2087c98
* Implementation of ExtensionEventRouterForwarderbattre@chromium.org2011-02-231-0/+3
| | | | | | | | | | | Implementation of ExtensionEventRouterForwarder, a class that allows forwarding events from contexts without a profile (e.g. system URL request context) and from the IO thread to extensions. BUG=73903 TEST=unit_tests --gtest_filter='ExtensionEventRouterForwarderTest.*' Review URL: http://codereview.chromium.org/6538093 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75807 0039d316-1c4b-4281-b951-d872f2087c98
* Device policy infrastructurejkummerow@chromium.org2011-02-231-1/+1
| | | | | | | | | | | | | | | | This continues the work of http://codereview.chromium.org/6312121/. Description of that CL: This refactors the cloud policy-related code to support device policy that gets associated with the whole browser session. Device policy information will show up in g_browser_process->local_state(). Also, start supporting recommended policy from the cloud. BUG=chromium-os:11259, chromium-os:11257, chromium-os:11256 TEST=Enable device policy by passing --device-policy-cache-dir, claim a device and verify that policy gets downloaded. Review URL: http://codereview.chromium.org/6520008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75732 0039d316-1c4b-4281-b951-d872f2087c98