summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
Commit message (Collapse)AuthorAgeFilesLines
* Move:ben@chromium.org2010-12-021-667/+0
| | | | | | | | | | | | | | | file_path_watcher into subdir profile* into profiles/ subdir login* into ui/login visitedlink* into subdir BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/5606002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68069 0039d316-1c4b-4281-b951-d872f2087c98
* Move find_bar stuff into browser/ui/find_barben@chromium.org2010-12-021-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/5438002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68014 0039d316-1c4b-4281-b951-d872f2087c98
* Notify the CrOS Enterprise Daemon if an Enterprise Extension has been installedgfeher@chromium.org2010-12-011-0/+4
| | | | | | | | | | | Listen for extension install events and restart the Enterprise Daemon if an extension was installed, that is from a policy and it contains the policy marker file. BUG=chromeos:9702 TEST=manual Review URL: http://codereview.chromium.org/5311007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67847 0039d316-1c4b-4281-b951-d872f2087c98
* Moved deleting the indexed db context to the IndexedDBContext destructor.pastarmovj@chromium.org2010-11-301-1/+1
| | | | | | | | | | | This gives us the safety that we delete the files only when they are certainly not accessed by the webkit context anymore. BUG=56249 TEST=IndexedDBBrowserTest.ClearLocalState Review URL: http://codereview.chromium.org/5359005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67708 0039d316-1c4b-4281-b951-d872f2087c98
* Dynamically refresh pref-configured proxies.mnissler@chromium.org2010-11-241-0/+4
| | | | | | | | | BUG=63175,48930 TEST=unit tests Review URL: http://codereview.chromium.org/5005002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67261 0039d316-1c4b-4281-b951-d872f2087c98
* Use a service to create device management backends.mnissler@chromium.org2010-11-221-2/+1
| | | | | | | | | | | | | | | Move responsibility for creating backend objects to a device management service object that lives in the profile. Doing allows us to make use of the profile's request context, which has the advantage over the independent request context implementation that stuff is more efficient (i.e. we need to only resolve the proxy once). BUG=63608 TEST=device_management_service_(unit|browser)test.cc Review URL: http://codereview.chromium.org/5153002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66948 0039d316-1c4b-4281-b951-d872f2087c98
* Move DeviceManagementPolicyProvider into the profile.mnissler@chromium.org2010-11-191-0/+5
| | | | | | | | | | | Previously, we used only one provider, which would break in situations where there are two profiles (which ChromeOS already does), because it would apply the policy to both profiles and not only the logged in one. For this to work properly, we also need to pass the relevant TokenService instance the DeviceTokenFetcher, so the fetcher can decide whether the token is relevant to it by checking whether the TokenService that sent it is the one associated with the right profile. BUG=63608 TEST=existing unit tests succeed Review URL: http://codereview.chromium.org/5174006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66755 0039d316-1c4b-4281-b951-d872f2087c98
* Add a preference to enable safebrowsing malware reports.panayiotis@google.com2010-11-181-0/+1
| | | | | | | | | BUG=60831 TEST=unit_tests Review URL: http://codereview.chromium.org/4827001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66651 0039d316-1c4b-4281-b951-d872f2087c98
* Handful of related instant changes:sky@chromium.org2010-11-151-0/+4
| | | | | | | | | | | | | | | | | | | | . Makes the code for running the promo more real. We're not ready to flip it on yet, so it isn't enabled. . Nukes verbatim from about:flags and instead randomly chooses verbatim/predictive when the user opts in. We're doing this to try and see if we get feedback as to which one folks like more. Windows preferences shows you which one you get (by way of an obscure label). I'll change gtk do to that shortly too. . Adds metrics. And a couple of random style issues I encountered in some files. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/5023001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66187 0039d316-1c4b-4281-b951-d872f2087c98
* Chrome OS: make language per user.dilmah@chromium.org2010-11-151-0/+8
| | | | | | | | | BUG=http://crosbug.com/3873 TEST=Manual Review URL: http://codereview.chromium.org/3579011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66112 0039d316-1c4b-4281-b951-d872f2087c98
* Added support for displaying BackgroundContents in the task manager.atwilson@chromium.org2010-11-101-1/+1
| | | | | | | | | | | | Previously BackgroundContents would get created, but since they were not TabContents, they would not show up. BUG=62105 TEST=TaskManagerBrowserTest.NoticeBGContentsChanges Review URL: http://codereview.chromium.org/4760001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65690 0039d316-1c4b-4281-b951-d872f2087c98
* FileSystem code cleanup 1st cut - does some class renaming.kinuko@chromium.org2010-11-091-7/+7
| | | | | | | | | | | | Renamed FileSystemQuota to FileSystemQuotaManager. Removed PlatFormErrorToFileError in simple_file_system.cc (in favor of webkit_flue::PlatformErrorToFileError) BUG=60243 TEST=none Review URL: http://codereview.chromium.org/4017007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65506 0039d316-1c4b-4281-b951-d872f2087c98
* PyAuto hooks for Sync in TestingAutomationProviderrsimha@chromium.org2010-11-031-0/+5
| | | | | | | | | | | | | | | | | | This patch exposes hooks for sync in TestingAutomationProvider that the chrome pyauto test suite can use. It contains the following changes: - Partial revert of an earlier change to ProfileSyncServiceHarness. Some of its methods were made pure virtual, but this ended up being unnecessary. Also ripped out unnecessary code from LiveSyncTest. - Minor refactor of ProfileSyncServiceHarness to allow for scenarios where the browser is restarted. - A bunch of new methods in TestingAutomationProvider: SignInToSync, GetSyncInfo, AwaitSyncCycleCompletion, EnableSyncForDatatypes and DisableSyncForDatatypes. - A new method in model_type.h/cc called ModelTypeFromString. Required for automation. - New APIs in pyauto.py for sync. - New test suite sync.py with sample tests. BUG=53651, 60970, 56460, 61639 TEST=run pyauto sync tests Review URL: http://codereview.chromium.org/4096004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64988 0039d316-1c4b-4281-b951-d872f2087c98
* Part 3 of immutable Extension refactor.mpcomplete@chromium.org2010-10-291-2/+2
| | | | | | | | | | | | | Make ExtensionsService hold const Extension pointers only. This ensures that extensions can't be modified after they're created, and lets us share them between threads. BUG=56558 TEST=no functional change Review URL: http://codereview.chromium.org/4138006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64517 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at landing top sites refactor:sky@chromium.org2010-10-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactors TopSites so that it's hopefully easier to maintain and doesn't suffer the plethora of threading issues that exist with the current version. Here's the breakdown of what was refactored: . TopSitesCache: Contains the most visited urls and thumbnails. . TopSitesBackend: All mutations to topsites data end up calling into the backend on the UI thread. TopSitesBackend processes the method on the DB thread calling through to the TopSitesDatabase. . TopSites: uses two TopSitesCache. One that contains the raw history data, the other contains the processed data (pinned/blacklisted). The processed cache can be accessed on any thread. TopSites waits until history loads to know if it should migrate or use it's own db. I could probably make these execute in parallel, but for now this is how it works. This patch also makes it so the dom ui accesses the thumbnails on the IO thread. BUG=56382 TEST=Make sure all your thumbnails are correctly updated and you don't see problems. Review URL: http://codereview.chromium.org/4051004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64072 0039d316-1c4b-4281-b951-d872f2087c98
* Create a new browser signin layer. This is currently a proxy on top of sync ↵johnnyg@chromium.org2010-10-251-0/+4
| | | | | | | | | | | | | login, with a different UI container that is built on the new tab-modal constrained html dialogs. Hooked it up to the webstore extensions api with the desired behavior of turning on apps sync after a successful webstore login. BUG=56383 TEST=manual only for now Review URL: http://codereview.chromium.org/4033001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63717 0039d316-1c4b-4281-b951-d872f2087c98
* Stability fix: do not access Browser* during its destructionphajdan.jr@chromium.org2010-10-191-17/+9
| | | | | | | | | | when closing an incognito window that had a download. BUG=59365 TEST=see bug Review URL: http://codereview.chromium.org/3826014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63023 0039d316-1c4b-4281-b951-d872f2087c98
* Pull events-related code out of ExtensionMessageService into its own class.mpcomplete@chromium.org2010-10-151-0/+4
| | | | | | | | | | | | | | The events code is independent of the messaging code and didn't belong in the same class. This is part 1 of an extension event refactor. See bug for more details. BUG=58214 TEST=covered by tests Review URL: http://codereview.chromium.org/3758005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62764 0039d316-1c4b-4281-b951-d872f2087c98
* DOM UI Settings - content settings exceptions tablesestade@chromium.org2010-10-131-1/+1
| | | | | | | | | | | show/hide the OTR exceptions tables when an OTR profile comes into being or its flame is extinguished BUG=57459 TEST=manual Review URL: http://codereview.chromium.org/3757002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62471 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part21:tfarina@chromium.org2010-10-121-1/+1
| | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in more 100 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3691006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62286 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part15:tfarina@chromium.org2010-10-111-6/+6
| | | | | | | | | | | - Rename entries in more 40 files under chrome/browser. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3704001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62130 0039d316-1c4b-4281-b951-d872f2087c98
* Remove all FIXMEs in browser/estade@chromium.org2010-10-071-1/+1
| | | | | | | | | | | Changed them to TODO or NOTE or other as the situation called for it. BUG=NONE TEST=NONE (no code change) Review URL: http://codereview.chromium.org/3599021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61861 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor ChromeURLRequestContext to pull out ExtensionInfoMap into a sharedmpcomplete@chromium.org2010-09-301-0/+4
| | | | | | | | | | | data structure that all the different contexts have a handle to. BUG=56558 TEST=no functional change Review URL: http://codereview.chromium.org/3439017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61120 0039d316-1c4b-4281-b951-d872f2087c98
* Create DownloadStatusUpdater to keep track of download progressphajdan.jr@chromium.org2010-09-271-1/+2
| | | | | | | | | | | | | | | and update the application icon. We can't do that in DownloadManager because there are multiple DownloadManagers (one per Profile) and they would overwrite each other's updates. BUG=none TEST=none Review URL: http://codereview.chromium.org/3454018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60625 0039d316-1c4b-4281-b951-d872f2087c98
* Add the ability to change NTP logos using a command from the web resource ↵mirandac@chromium.org2010-09-211-0/+4
| | | | | | | | | | | server. BUG=none TEST=none Review URL: http://codereview.chromium.org/3418020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60001 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Clean up DownloadFileManagerphajdan.jr@chromium.org2010-09-101-3/+7
| | | | | | | | | | | | | | | | | | | | | This removes a lot of duplication, locking, and thread jumping. Most of the operations run on the FILE thread, and we do not duplicate so much information. Each DownloadFile keeps track of its DownloadManager (each Profile has its own DownloadManager). This allows us to remove many maps from DownloadFileManager that were duplicating that information. There is still SaveFileManager, but hopefully I will be able to merge those two in small steps. Hopefully, this is http://codereview.chromium.org/3245005 done right. TEST=unit_tests, browser_tests, ui_tests BUG=48913 Review URL: http://codereview.chromium.org/3347018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59139 0039d316-1c4b-4281-b951-d872f2087c98
* 2nd attempt at http://codereview.chromium.org/3305003/showjohnnyg@chromium.org2010-09-091-0/+5
| | | | | | | | | | | | | | | | | | The difference between this patch and the other one is plumbing setup_in_test_mode through the Initialization process, rather than using a separate SetupInTestMode() method, which happens too late to safely stop the syncer thread. [see syncapi.cc|h for most of the changes.] --- This patch removes: authenticator.cc, auth_watcher.cc removes calls to user_settings.cc, removes an authenticate PB request to the server, and moves token storage into the Chrome TokenService. This patch introduces the SigninManager, which is an interim solution for user management prior to moving the system into chrome. Other changes include removing the dependency on the sync backend to be running while the sync wizard is intially displayed. This means that the backend can be brought up in response to credentials becoming available. The backend now is always provided credentials on startup. If an auth error occurs, it propogates it up via a notification. Some event handlers were removed and streamlined for more straightforward sync system startup. BUG=51001, 50293, 35158 TEST=Unit tests && Start up sync, log in, log out, run with expired credentials, run with new gaia credentials, run with gaia credentials updated while system is syncing. Try logging in with incorrect username. Trigger CAPTCHA. Try logging out and in repeatedly. Check about:sync works. Try going offline and back online again. Expire gaia credentials and try renewing it with the UI dialog. Review URL: http://codereview.chromium.org/3342025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58993 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 58778 - New authorization framework for sync. johnnyg@chromium.org2010-09-081-5/+0
| | | | | | | | | | | | | | | | | | | | | To quote chron's original patch (http://codereview.chromium.org/3148036/show) <blockquote> This patch removes: authenticator.cc, auth_watcher.cc removes calls to user_settings.cc, removes an authenticate PB request to the server, and moves token storage into the Chrome TokenService. This patch introduces the SigninManager, which is an interim solution for user management prior to moving the system into chrome. Other changes include removing the dependency on the sync backend to be running while the sync wizard is intially displayed. This means that the backend can be brought up in response to credentials becoming available. The backend now is always provided credentials on startup. If an auth error occurs, it propogates it up via a notification. Some event handlers were removed and streamlined for more straightforward sync system startup. </blockquote> BUG=51001, 50293, 35158 TEST=Unit tests && Start up sync, log in, log out, run with expired credentials, run with new gaia credentials, run with gaia credentials updated while system is syncing. Try logging in with incorrect username. Trigger CAPTCHA. Try logging out and in repeatedly. Check about:sync works. Try going offline and back online again. Expire gaia credentials and try renewing it with the UI dialog. Review URL: http://codereview.chromium.org/3305003 TBR=johnnyg@chromium.org Review URL: http://codereview.chromium.org/3310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58782 0039d316-1c4b-4281-b951-d872f2087c98
* New authorization framework for sync. johnnyg@chromium.org2010-09-081-0/+5
| | | | | | | | | | | | | | | | | | To quote chron's original patch (http://codereview.chromium.org/3148036/show) <blockquote> This patch removes: authenticator.cc, auth_watcher.cc removes calls to user_settings.cc, removes an authenticate PB request to the server, and moves token storage into the Chrome TokenService. This patch introduces the SigninManager, which is an interim solution for user management prior to moving the system into chrome. Other changes include removing the dependency on the sync backend to be running while the sync wizard is intially displayed. This means that the backend can be brought up in response to credentials becoming available. The backend now is always provided credentials on startup. If an auth error occurs, it propogates it up via a notification. Some event handlers were removed and streamlined for more straightforward sync system startup. </blockquote> BUG=51001, 50293, 35158 TEST=Unit tests && Start up sync, log in, log out, run with expired credentials, run with new gaia credentials, run with gaia credentials updated while system is syncing. Try logging in with incorrect username. Trigger CAPTCHA. Try logging out and in repeatedly. Check about:sync works. Try going offline and back online again. Expire gaia credentials and try renewing it with the UI dialog. Review URL: http://codereview.chromium.org/3305003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58778 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for a "split" incognito behavior for extensions.mpcomplete@chromium.org2010-08-311-2/+16
| | | | | | | | | | | | | | | | - On by default for apps, off by default for extensions. - Split mode means "run incognito extensions in a separate process if the user says OK, and the two processes can only see their own profile." - Spanning mode is what we have now, and means "run a single extension process, but allow it to access both profiles if the user says OK." BUG=49232 BUG=49114 TEST=extensions still work in incognito when you check "Allow in Incognito". Review URL: http://codereview.chromium.org/3210007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58033 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper class that keeps per-profile information for FileSystem APIkinuko@chromium.org2010-08-271-0/+12
| | | | | | | | | | | | | | | Reapplying with the correct constructor order in resource_message_filter. The original one was: http://codereview.chromium.org/3028033 Reverted due to rebase/merge failure: http://codereview.chromium.org/3243005 BUG=32277 TEST=FileSystemHostContextTest TBR=dmazzoni Review URL: http://codereview.chromium.org/3244002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57733 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 57715 - Add a helper class that keeps per-profile information for ↵dmazzoni@chromium.org2010-08-271-12/+0
| | | | | | | | | | | | | | FileSystem API BUG=32277 TEST=FileSystemHostContextTest Review URL: http://codereview.chromium.org/3028033 TBR=kinuko@chromium.org Review URL: http://codereview.chromium.org/3243005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57718 0039d316-1c4b-4281-b951-d872f2087c98
* Add a helper class that keeps per-profile information for FileSystem APIkinuko@chromium.org2010-08-271-0/+12
| | | | | | | | | BUG=32277 TEST=FileSystemHostContextTest Review URL: http://codereview.chromium.org/3028033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57715 0039d316-1c4b-4281-b951-d872f2087c98
* Support sending BlobData to browser process. Also support sending UploadDatajianli@chromium.org2010-08-271-0/+15
| | | | | | | | | | | with the blob info to browser process. BUG=none TEST=none Review URL: http://codereview.chromium.org/3108042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57707 0039d316-1c4b-4281-b951-d872f2087c98
* Move theme files in chrome/browser/ into a themes/ subdir.evan@chromium.org2010-08-251-1/+1
| | | | | | | | | | | Rename (and resort) every #include. BUG=50548 TEST=compiles Review URL: http://codereview.chromium.org/3173043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57375 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: 1st draft of ProxyConfigService for chromeoskuan@chromium.org2010-08-241-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | what this cl is: - a REALLY bare skeleton implementation of ProxyConfigService for chromeos (lots of design details remain to be worked out on the chromeos side, but i needed to get something basic up) - focused on getting chrome part correct, extracting design flow and implementation from linux variant that are relevant to chromeos, e.g.: - provide access of ProxyConfigService interface on IO thread - provide methods on UI thread for UI to read/modify proxy config (like linux's GConf notifications on UI thread) - fetch initial config on UI thread (this is not absolutely necessary for chromeos, 'cos i don't use GConf, but i just follow linux for now) - however, the class is RefCountedThreadSafe (so that both net::ProxyService and DOMUI can access it), and the code resides in chrome/browser/chromeos dir instead of net/proxy. - design details are in .h files - initial config is hardcoded as pac script and loaded as owner (TODO: load this from cros settings persisted on chromeos device) - this should work like the current chromeos session manager which sets the auto-proxy environment variable in login script to the same pac script - implement an augmented analogue to net::ProxyConfig to hold actual proxy config and UI settings (e.g. source and readonly attributes) - backend uses this as the main proxy config, and only converts it to net:::ProxyConfig for network stack on the IO thread in net::ProxyService::GetLatestProxyConfig. - UI methods also use this structure - provide methods to get and set configs from UI thread - UI can use dom_ui->GetProfile()->GetChromeOSProxyConfigServiceImpl() to access these methods on the UI thread - these methods are by no means final - i only added them here to verify the design flow that modifications can be made from UI thread and picked up by IO thread. - david and i will improve or modify them to whatever works best for frontend and backend. - unittest that tests most functionalities: socks and bypass_rules will be enabled in a later cl. TODOs after this cl: - work with UI, load initial config as owner from cros settings - implement policy mechanism, merge it with owner during initial load and modifications - persist proxy settings - etc etc etc BUG=chromium-os:5127 TEST=nothing yet. Review URL: http://codereview.chromium.org/3047052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57204 0039d316-1c4b-4281-b951-d872f2087c98
* Added BackgroundModeManager which tracks when background apps are ↵atwilson@chromium.org2010-08-181-0/+4
| | | | | | | | | | | | | | | | | | | | loaded/unloaded and puts Chrome into BackgroundMode appropriately. Added EXTENSION_UNINSTALLING notification which is sent out when a notification is about to be uninstalled. Refactored StatusTray code to move StatusTray under the profile rather than attaching it to the browser process, and removed StatusTrayManager which is no longer needed now that BackgroundModeManager handles creating status icons. BUG=43382 TEST=background_mode_manager_unittests.cc Review URL: http://codereview.chromium.org/3134011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56596 0039d316-1c4b-4281-b951-d872f2087c98
* Provide a profile.GetAppCacheService() accessor and add two helper methods ↵michaeln@chromium.org2010-08-111-0/+15
| | | | | | | | | | | to ChromeAppCacheService to override the default quota for an origin. BUG=49993 TESTS=existing tests apply Review URL: http://codereview.chromium.org/2819091 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55773 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 1)thestig@chromium.org2010-08-051-2/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3071012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55034 0039d316-1c4b-4281-b951-d872f2087c98
* base: Rename EnvVarGetter to Environment.tfarina@chromium.org2010-08-031-1/+0
| | | | | | | | | | | | | | | Now EnvVarGetter do much more than getting environment variables. Per suggestion from Pawel in http://codereview.chromium.org/3043018/. BUG=None TEST=trybots Signed-off-by: Thiago Farina <tfarina@chromium.org> Review URL: http://codereview.chromium.org/3052034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54696 0039d316-1c4b-4281-b951-d872f2087c98
* Split ProfileImpl out of profile.cc.pathorn@chromium.org2010-07-301-1126/+20
| | | | | | | | | | | | | This is a relatively trivial change which moves ProfileImpl into a separate file to avoid depending on its implementation. The fact that no code references ProfileImpl implies that it doesn't need to be public anyway. Does not affect OffTheRecordProfile, since its dependencies are relatively minimal. BUG=none TEST=none Review URL: http://codereview.chromium.org/2806087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54409 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove unneeded headers from app/thestig@chromium.org2010-07-291-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2819063 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54102 0039d316-1c4b-4281-b951-d872f2087c98
* Remove tips from NTP.mirandac@google.com2010-07-281-12/+0
| | | | | | | | BUG= 50072 TEST= no tips on NTP. Review URL: http://codereview.chromium.org/3033032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54045 0039d316-1c4b-4281-b951-d872f2087c98
* NTP: Use the store as the last thumbnail in case we have no apps installed.arv@chromium.org2010-07-201-5/+1
| | | | | | | | | | | | | 1. If no apps are installed we add an item for the store to the most visited section. 2. No longer hide the most visited by default. 3. This removes the default apps on non ChromeOS BUG=46028, 47700 TEST=With a clean profile without any apps installed you should see the store thumbnail unless you blacklist it or pin 8 ohter pages. Review URL: http://codereview.chromium.org/3001003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52998 0039d316-1c4b-4281-b951-d872f2087c98
* Restore disable-sync flag.mnissler@chromium.org2010-07-151-0/+2
| | | | | | | | | | | | r52288 accidentally nuked the --disable-sync command line flag, make it work again. BUG=none TEST=Starting with --disable-sync should actually disable sync Review URL: http://codereview.chromium.org/2943016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52466 0039d316-1c4b-4281-b951-d872f2087c98
* Implement support for disabling sync through configuration management.mnissler@chromium.org2010-07-141-3/+5
| | | | | | | | | BUG=45316 TEST=Configure SyncDisabled policy and check the UI. Review URL: http://codereview.chromium.org/2905003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52288 0039d316-1c4b-4281-b951-d872f2087c98
* Add the TokenService to the chrome profile, and use it to pass the LSID from ↵chron@chromium.org2010-07-141-0/+12
| | | | | | | | | | | | | ChromiumOS login into Sync. This is just initial groundlaying for replacing the internal sync auth stack. IssueAuthToken is not yet used in this CL. TEST=Run chromium OS. Login using your credentials. Verify that sync works in about:sync. BUG=47093 Review URL: http://codereview.chromium.org/2872034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52250 0039d316-1c4b-4281-b951-d872f2087c98
* Remove ThumbnailStore - replaced by TopSites.nshkrob@chromium.org2010-07-071-20/+0
| | | | | | | | | BUG=none TEST=open New Tab page, see thumbnails. Same with chrome --top-sites. Review URL: http://codereview.chromium.org/2815045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51728 0039d316-1c4b-4281-b951-d872f2087c98
* Remove abonded privacy blacklist implementation.jochen@chromium.org2010-07-021-14/+0
| | | | | | | | | BUG=16932 TEST=compiles Review URL: http://codereview.chromium.org/2862041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51525 0039d316-1c4b-4281-b951-d872f2087c98
* Display content settings applying to the current otr session only.jochen@chromium.org2010-07-021-0/+8
| | | | | | | | | | | | | Also allow for editing them... The XIB change adds a column at the end of the table with a NSCheckboxCell in it and the title IDS_EXCEPTIONS_OTR_HEADER BUG=44480 TEST=manual Review URL: http://codereview.chromium.org/2858032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51507 0039d316-1c4b-4281-b951-d872f2087c98