summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_init.cc
Commit message (Collapse)AuthorAgeFilesLines
* base::Bind: Convert the following files:jhawkins@chromium.org2011-11-291-44/+4
| | | | | | | | | | | | | | | | | * theme_service.cc. * browser_browsertest.cc. * browser_init.cc. * certificate_dialogs.cc. * login_prompt.cc. BUG=none TEST=none R=groby@chromium.org Review URL: http://codereview.chromium.org/8725022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111852 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove support for legacy remote debugger.yurys@chromium.org2011-11-241-11/+1
| | | | | | | | | | | DevTools remote debugging protocol supersedes the legacy protocol and old implementation should be removed. BUG=104625 TEST=Existing tests Review URL: http://codereview.chromium.org/8635005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111540 0039d316-1c4b-4281-b951-d872f2087c98
* Finish bind migration for browser_init.cccsilv@chromium.org2011-11-231-26/+4
| | | | | | | BUG=none Review URL: http://codereview.chromium.org/8665009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111365 0039d316-1c4b-4281-b951-d872f2087c98
* Don't build a bunch of stuff on Aura, rather than ifdefing out code in it.ben@chromium.org2011-11-171-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/8591004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110567 0039d316-1c4b-4281-b951-d872f2087c98
* base::Bind migrations in chrome/browsercsilv@chromium.org2011-11-171-7/+12
| | | | | | | BUG=none Review URL: http://codereview.chromium.org/8513020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110561 0039d316-1c4b-4281-b951-d872f2087c98
* aura: Touch state file after first browser is ready.derat@chromium.org2011-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This creates a chromeos::InitialBrowserWindowObserver class for Aura that replicates some behavior for tests that's currently performed by the X window manager: when the first browser window is created, /var/run/state/windowmanager/initial-chrome-window-mapped is touched (the window manager actually writes the window's ID to the file, but that doesn't make sense under Aura and luckily doesn't appear to be depended on by any tests). This fixes Chrome OS's security_ProfilePermissions.BWSI and security_ProfilePermissions.login autotests, which otherwise time out when run against an Aura build. I'm also moving existing X-window-manager-related files that are currently in the chromeos/ directory to chromeos/legacy_window_manager/. BUG=chromium-os:22974,chromium-os:22896 TEST=manual: observed that tests no longer time out Review URL: http://codereview.chromium.org/8539051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110508 0039d316-1c4b-4281-b951-d872f2087c98
* Switch from MountLibrary to DiskMountManager and CrosDisksLibraryhashimoto@chromium.org2011-11-171-1/+0
| | | | | | | | | | | | | This patch is 2nd part of 3 splitted patches made from http://codereview.chromium.org/8386031 BUG=chromium-os:16556 TEST=Confirm that removable disk is correctly mounted Review URL: http://codereview.chromium.org/8497007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110469 0039d316-1c4b-4281-b951-d872f2087c98
* Append parameters to webstore URL to indicate launch source.estade@chromium.org2011-11-151-2/+2
| | | | | | | | | BUG=82857 TEST=manual Review URL: http://codereview.chromium.org/8526017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110050 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Add power supply info reading capabilitysque@chromium.org2011-11-101-1/+2
| | | | | | | | | | | | | | | | | Using chrome instead of libcros to request power supply status from power manager. BUG=chromium-os:16558 TEST=plug/unplug AC, make sure power icon updates correctly. Signed-off-by: Simon Que <sque@chromium.org> R=satorux@chromium.org,stevenjb@chromium.org Review URL: http://codereview.chromium.org/8271024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109529 0039d316-1c4b-4281-b951-d872f2087c98
* Remove needless include of the content/browser/render_process_host.h header ↵ananta@chromium.org2011-11-041-1/+0
| | | | | | | | | | | file. Part 1 of upcoming changes to move RPH/BRPH to a public interface. BUG=98716 Review URL: http://codereview.chromium.org/8451012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108608 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserThread to content namespace.joi@chromium.org2011-11-021-0/+2
| | | | | | | | | TBR=owners BUG=98716 Review URL: http://codereview.chromium.org/8437002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108270 0039d316-1c4b-4281-b951-d872f2087c98
* Sync Promo: Tweak first tabssail@chromium.org2011-10-281-3/+23
| | | | | | | | | | | | | | | Some small tweaks which tabs we show during first launch: - Previously the sync promo was the first tab. Completing the promo would navigate to the original first startup URL. With this change completing the sync promo always navigates to the new tab page. - The original first startup URL is now the 2nd tab (and the original 2nd tab is now the 3rd, etc...). - If we have more than two tabs then we suppress the welcome page. BUG= TEST= Review URL: http://codereview.chromium.org/8343052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107770 0039d316-1c4b-4281-b951-d872f2087c98
* Split BrowserThread into public API and private implementation, step 1.joi@chromium.org2011-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | Only content/ now has the ability to create BrowserThread objects, with the exception that tests can create the content::TestBrowserThread subclass, and (temporarily) code in chrome/ can create the DeprecatedBrowserThread subclass. A follow-up change will make content/ take care of its own thread creation, remove DeprecatedBrowserThread, and move all state and non-trivial constructors from BrowserThread down to BrowserThreadImpl. Also moved BrowserProcessSubThread into content/ namespace. As part of follow-up cleanup, chrome/ will stop using this class. BUG=98716 TEST=existing Review URL: http://codereview.chromium.org/8392042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107718 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: Update a couple of command-line flags.sadrul@chromium.org2011-10-271-7/+6
| | | | | | | | | | | | This removes the --keep-mouse-cursor flag, and moves the --touch-devices flag from touchui-only to linux-views (i.e. chromeos, aura on linux, touchui). BUG=none TEST=none Review URL: http://codereview.chromium.org/8371022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107570 0039d316-1c4b-4281-b951-d872f2087c98
* net: enable CRL sets behind a command line flag.agl@chromium.org2011-10-251-6/+6
| | | | | | | | | | | | | | | | This change introduces a command line flag for enabling CRL sets while the serving side is still in development. It contains code for NSS (revocation checking will proceed as normal on other platforms). BUG=none TEST=none Review URL: http://codereview.chromium.org/8342054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107131 0039d316-1c4b-4281-b951-d872f2087c98
* chromeos: Remove UpdateObserver, which has been unused for long.satorux@chromium.org2011-10-231-6/+0
| | | | | | | | | | | | We don't show a notification panel when an update is ready. Asked kanliu@ and he was okay with removing this. TEST=chrome and tests build. BUG=chromium-os:16564 Review URL: http://codereview.chromium.org/8369009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106871 0039d316-1c4b-4281-b951-d872f2087c98
* Sync Promo: Replace original startup page with sync promosail@chromium.org2011-10-201-16/+14
| | | | | | | | | | | | | | | | Currently the sync promo tab is opened in addition to the startup tabs that a user would normally see. After some discussion we've agreed that this looks to cluttered. This CL changes the startup so that the sync promo tab replaces the first tab. Once the user completes or skips the promo we navigate to the original startup tab. BUG=99743 TEST= Review URL: http://codereview.chromium.org/8352022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106419 0039d316-1c4b-4281-b951-d872f2087c98
* Recovery component: Use a version from the prefs instead of the chrome versioncpu@chromium.org2011-10-181-1/+1
| | | | | | | | | | The chrome version is sent anyhow as a top level param of the request. BUG=98735 TEST= see bug Review URL: http://codereview.chromium.org/8337003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106007 0039d316-1c4b-4281-b951-d872f2087c98
* Implement fullscreen info bubble on Win and Mac.jeremya@chromium.org2011-10-151-1/+1
| | | | | | | | | | | | | | | | When a site enters fullscreen a bubble should appear, both to give the user the option to exit fullscreen and to inform them that the site has entered fullscreen. This patch implements that behaviour on Windows and Mac. XIB changes: (FullScreenExitBubble.xib) * Added explanatory text field. * Added "allow" and "deny" buttons. * Changed from View into Window. BUG=73923 TEST= Review URL: http://codereview.chromium.org/7740044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105649 0039d316-1c4b-4281-b951-d872f2087c98
* Move PageTransition into content namespace. While I'm touching all these ↵jam@chromium.org2011-10-131-2/+2
| | | | | | | | | files, I've also updated it to use the enum naming convention in the Content API. BUG=98716 Review URL: http://codereview.chromium.org/8253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105254 0039d316-1c4b-4281-b951-d872f2087c98
* Recovery component: Use the correct key fingerprintcpu@chromium.org2011-10-121-1/+4
| | | | | | | | | | And wire it to the browser. BUG=98735 TEST=see bug Review URL: http://codereview.chromium.org/8251005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105192 0039d316-1c4b-4281-b951-d872f2087c98
* Sync Promo: Insert promo page before startup tabssail@chromium.org2011-10-121-9/+8
| | | | | | | | | | | | The previous code swapped out the new tab page with the promo page on startup. With this change we now simply insert the promo page at the beginning of the list of startup pages. BUG=99743 TEST= Review URL: http://codereview.chromium.org/8241001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105110 0039d316-1c4b-4281-b951-d872f2087c98
* This compiles out IPC under Aura. I have built and run chromeos with and ↵saintlou@chromium.org2011-10-121-0/+4
| | | | | | | | | | | | | without these #ifdef. TBR=davemoore@chromium.org BUG=97131,99488 TEST=none Review URL: http://codereview.chromium.org/8218023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104989 0039d316-1c4b-4281-b951-d872f2087c98
* Show sync promo at startupsail@chromium.org2011-10-051-13/+35
| | | | | | | | | | | | | | | | | | This CL changes the startup behavior so that for new Chrome installs we now show the chrome://syncpromo page instead of the new tab page. We also do the same thing when a user creates a new profile. This CL also keeps track of the number of times the promo page has been shown so that we only show it 10 times. In a later CL I'll add code to suppress the promo if the user is already signed into sync or if they have clicked the "Skip setup for now" button. BUG=97779 TEST= Review URL: http://codereview.chromium.org/8093016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104054 0039d316-1c4b-4281-b951-d872f2087c98
* Component update regular NPAPI flashcpu@chromium.org2011-10-041-0/+1
| | | | | | | | | | If we update flash, like in the case of 0-day, the plugin appears on<userprofile>\AppData\Local\Google Chrome\User Data\NPAPIFlash and overridesthe built-in plugin until chrome is updated. BUG=51063 TEST=see bug Review URL: http://codereview.chromium.org/8073031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103991 0039d316-1c4b-4281-b951-d872f2087c98
* Changes to restrict showing pinned tabs in incognito mode.naveenbobbili@motorola.com2011-10-041-1/+5
| | | | | | | | | | BUG=52115 TEST=Pin few tabs in normal window. Exit chrome and relaunch in incognito mode. Pinned tabs should not be displayed. Review URL: http://codereview.chromium.org/8115001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103891 0039d316-1c4b-4281-b951-d872f2087c98
* Add CRL set updater.agl@chromium.org2011-09-301-0/+7
| | | | | | | | | | | | | This is just a dormant component updater for CRL sets. Since the call to start the initial load is commented out it's actually inactive, but it helps to split the CRL set change into parts to make it more easily reviewable. BUG=none TEST=none Review URL: http://codereview.chromium.org/8056013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103466 0039d316-1c4b-4281-b951-d872f2087c98
* Move infobar handling to a tab helper.avi@chromium.org2011-09-301-26/+35
| | | | | | | | | | | | | | Part 2: - Removed TabContentsWrapper from core infobar classes - Made InfoBarTabHelper the owner of the infobar delegates - Removed all owner references from the delegate subclasses BUG=94741 TEST=no visible change Review URL: http://codereview.chromium.org/7862003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103463 0039d316-1c4b-4281-b951-d872f2087c98
* cocoa: Move translate infobar related files into ui/cocoa/infobars directory.tfarina@chromium.org2011-09-301-1/+1
| | | | | | | | R=pkasting@chromium.org Review URL: http://codereview.chromium.org/7978052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103395 0039d316-1c4b-4281-b951-d872f2087c98
* touchui: Fix --touch-devices flag.sadrul@chromium.org2011-09-271-2/+2
| | | | | | | | | | | | This fixes the --touch-devices command-line flag, which can be used to create touch-events from a normal mouse device. BUG=none TEST=none Review URL: http://codereview.chromium.org/8048015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102936 0039d316-1c4b-4281-b951-d872f2087c98
* Re-land r102336 (remove webkit_glue::BuildUserAgent) w/ fix.dpranke@chromium.org2011-09-261-6/+0
| | | | | | | | | | | | | | | | | | | | | | Remove webkit_glue::BuildUserAgent(), change the contract in webkit_glue so that SetUserAgent() must be called before GetUserAgent(). This was causing a dependency inversion between webkit_support and its clients, and was needed for the content component build. For content users, calling SetContentClient() will automatically initialize the user agent (retrieved from client->GetUserAgent()). As a bonus, fixing this allowed me to re-test the "mimic_windows" code path and it looks like we no longer need it. R=jam@chromium.org,rsesek@chromium.org BUG=11136, 90442 TEST=visit yahoo! mail using Chromium on Linux, ensure that we don't get an "unsupported browser" warning. Review URL: http://codereview.chromium.org/8045005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102763 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Remove webkit_glue::BuildUserAgent(), change the contract in ↵dpranke@chromium.org2011-09-221-0/+6
| | | | | | | | | | | | webkit_glue" TBR=jam@chromium.org BUG=90442 TEST=none Review URL: http://codereview.chromium.org/8002003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102353 0039d316-1c4b-4281-b951-d872f2087c98
* Remove webkit_glue::BuildUserAgent(), change the contract in webkit_glue so ↵dpranke@chromium.org2011-09-221-6/+0
| | | | | | | | | | | | | | | | | | that SetUserAgent() must be called before GetUserAgent(). This was causing a dependency inversion between webkit_support and its clients, and was needed for the content component build. For content users, calling SetContentClient() will automatically initialize the user agent (retrieved from client->GetUserAgent()). As a bonus, fixing this allowed me to re-test the "mimic_windows" code path and it looks like we no longer need it. R=jam@chromium.org,tony@chromium.org BUG=11136,90442 TEST=visit yahoo! mail using Chromium on Linux, ensure that we don't get an "unsupported browser" warning. Review URL: http://codereview.chromium.org/7922023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102336 0039d316-1c4b-4281-b951-d872f2087c98
* Removed chromeos::NetworkStateNotifier and redirected all related code to use zelidrag@chromium.org2011-09-221-11/+0
| | | | | | | | | | net::NetworkChangeNotifier instead. BUG=chromium-os:20014 TEST=make sure hosted app loading is still respecting network online state changes Review URL: http://codereview.chromium.org/7969009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102209 0039d316-1c4b-4281-b951-d872f2087c98
* Aura under Linux is enabled with:saintlou@chromium.org2011-09-181-1/+1
| | | | | | | | | | | 'use_aura': 1, BUG=none TEST=none Review URL: http://codereview.chromium.org/7850026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101704 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup AutomationProviderList to fix shutdown crashes on ChromeOS auto testsstevenjb@google.com2011-09-161-2/+1
| | | | | | | | | | | | | | There is a circular relationship between BrowserProcessImpl and AutomationProvider. To clean this up and eliminate a shutdown crash: 1. Eliminate the AutomationProviderList singleton instance; it is already clearly owned by BrowserProcessImpl 2. Eliminate the calls to g_browser_process->Add/ReleaseModule in AutomationProvider since BrowserProcessImpl already owns AutomationProviderList (which owns any AutomationProvider instances). This could possibly have side effects if AutomationProvider attempts to access the message loop after the last call to BrowserProcessImpl::ReleaseModule exits the message loop, but that shouldn't be happening. BUG=96030 TEST=./run_remote_tests.sh --remote=localhost --ssh_port 9222 --use_emerged suite_Smoke and ensure no crashes occur in ~AutomationProvider Review URL: http://codereview.chromium.org/7790031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101582 0039d316-1c4b-4281-b951-d872f2087c98
* Innocent rename of pepper_flash_component_installer.hcpu@chromium.org2011-09-101-1/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/7863017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100558 0039d316-1c4b-4281-b951-d872f2087c98
* Modifying prefetch to account for multi-profile.rlp@chromium.org2011-09-101-3/+5
| | | | | | | | | | | | | | | | | | | | Items of note: - predictor_api is gone. Most functions in predictor_api.cc have moved into the chrome_browser_net::Predictor class or the Profile class. - The predictor state is cleaned up in the Profile dtor. - Predictor is owned by the ProfileIOData of the profile. - InitialObserver class is gone since each profile keeps their own info, the non-OTR don't care if anyone is OTR. - Predictor is created by the profile and then passed to the ProfileIOData. Then its initialization is finished on the IOThread. - ConnectInterceptor now subclasses off of UrlRequestJobFactory::Interceptor. - Updated Profile to create a SimpleShutdownPredictor with limited functionality when in unittests. BUG=89937,90114 TEST=passes existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97446 Review URL: http://codereview.chromium.org/7467012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100555 0039d316-1c4b-4281-b951-d872f2087c98
* Get chrome to link with USE_AURAben@chromium.org2011-09-071-0/+2
| | | | | | | | | | http://crbug.com/93947 TEST=none R=sadrul TBR=jabdelmalek for the content/webkit stubs Review URL: http://codereview.chromium.org/7841012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99993 0039d316-1c4b-4281-b951-d872f2087c98
* Move infobar handling to a tab helper, part 1.avi@chromium.org2011-09-011-13/+20
| | | | | | | | | | | | | | | | | | Revert revert of r99187. This reverts r99198. BUG=94741 TEST=no visible change Review URL: http://codereview.chromium.org/7810002 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7827017 Review URL: http://codereview.chromium.org/7826014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99222 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 99187 (speculative revert for ↵thakis@chromium.org2011-09-011-20/+13
| | | | | | | | | | | | | | | | ProfileSyncServiceSessionTest.FailModelAssociation on 10.5) - Move infobar handling to a tab helper, part 1. BUG=94741 TEST=no visible change Review URL: http://codereview.chromium.org/7810002 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7827017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99198 0039d316-1c4b-4281-b951-d872f2087c98
* Move infobar handling to a tab helper, part 1.avi@chromium.org2011-09-011-13/+20
| | | | | | | | | BUG=94741 TEST=no visible change Review URL: http://codereview.chromium.org/7810002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99187 0039d316-1c4b-4281-b951-d872f2087c98
* Fix startup tabs in the case of Chrome running already in the background.rbyers@chromium.org2011-09-011-10/+26
| | | | | | | | | | | | | | | | With apps that can keep Chrome alive (with background pages), browser "startup" should behave similarly regardless of whether we are creating a new process or not. This change makes BrowserInit::ProcessLaunchURLs use the same logic as SessionService::RestoreIfNecessary to decide if we should be considering the new window the start of a user's session. This also adds two browser tests which together verify that the presence or absence of any tabbed browsers determines whether startup URLs are used. BUG=89880 TEST=New browser tests: BrowserInitTest.StartupURLsOnNewWindowWithNoTabbedBrowsers and BrowserInitTest.StartupURLsOnNewWindow Review URL: http://codereview.chromium.org/7731003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99106 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes crash when clicking session restore button on info bar. Thesky@chromium.org2011-08-221-11/+9
| | | | | | | | | | | | | | crash can happen if you drag the tab showing the crashed info bar into another browser, close the browser you dragged it out of, then click the restore button. BUG=93317 TEST=none R=pkasting@chromium.org Review URL: http://codereview.chromium.org/7692009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97635 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Modifying prefetch to account for multi-profile."avi@chromium.org2011-08-191-5/+3
| | | | | | | | | | | | | | This appears to make all the CF bots crash in chrome_frame_net_tests. This reverts commit r97446. BUG=89937 TEST=n/a TBR=rlp Review URL: http://codereview.chromium.org/7685009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97467 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97465 - Revert 97446 - Modifying prefetch to account for multi-profile.avi@chromium.org2011-08-191-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Items of note: - predictor_api is gone. Most functions in predictor_api.cc have moved into the chrome_browser_net::Predictor class or the Profile class. - The predictor state is cleaned up in the Profile dtor. - Predictor is owned by the ProfileIOData of the profile. - InitialObserver class is gone since each profile keeps their own info, the non-OTR don't care if anyone is OTR. - Predictor is created by the profile and then passed to the ProfileIOData. Then its initialization is finished on the IOThread. - ConnectInterceptor now subclasses off of UrlRequestJobFactory::Interceptor. - Updated Profile to create a SimpleShutdownPredictor with limited functionality when in unittests. BUG=89937 TEST=passes existing Review URL: http://codereview.chromium.org/7467012 TBR=rlp@chromium.org Review URL: http://codereview.chromium.org/7690006 TBR=avi@chromium.org Review URL: http://codereview.chromium.org/7688006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97466 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 97446 - Modifying prefetch to account for multi-profile.avi@chromium.org2011-08-191-5/+3
| | | | | | | | | | | | | | | | | | | | | Items of note: - predictor_api is gone. Most functions in predictor_api.cc have moved into the chrome_browser_net::Predictor class or the Profile class. - The predictor state is cleaned up in the Profile dtor. - Predictor is owned by the ProfileIOData of the profile. - InitialObserver class is gone since each profile keeps their own info, the non-OTR don't care if anyone is OTR. - Predictor is created by the profile and then passed to the ProfileIOData. Then its initialization is finished on the IOThread. - ConnectInterceptor now subclasses off of UrlRequestJobFactory::Interceptor. - Updated Profile to create a SimpleShutdownPredictor with limited functionality when in unittests. BUG=89937 TEST=passes existing Review URL: http://codereview.chromium.org/7467012 TBR=rlp@chromium.org Review URL: http://codereview.chromium.org/7690006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97465 0039d316-1c4b-4281-b951-d872f2087c98
* Modifying prefetch to account for multi-profile.rlp@chromium.org2011-08-191-3/+5
| | | | | | | | | | | | | | | | | | Items of note: - predictor_api is gone. Most functions in predictor_api.cc have moved into the chrome_browser_net::Predictor class or the Profile class. - The predictor state is cleaned up in the Profile dtor. - Predictor is owned by the ProfileIOData of the profile. - InitialObserver class is gone since each profile keeps their own info, the non-OTR don't care if anyone is OTR. - Predictor is created by the profile and then passed to the ProfileIOData. Then its initialization is finished on the IOThread. - ConnectInterceptor now subclasses off of UrlRequestJobFactory::Interceptor. - Updated Profile to create a SimpleShutdownPredictor with limited functionality when in unittests. BUG=89937 TEST=passes existing Review URL: http://codereview.chromium.org/7467012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97446 0039d316-1c4b-4281-b951-d872f2087c98
* Add a URL param to indicate group selection in Instant field trial.sreeram@chromium.org2011-08-161-4/+3
| | | | | | | | | | | | | | | | | Currently, if the user is chosen into an Instant field trial group, this information is not indicated in the suggest or search request URLs. Such a URL param will allow us to analyze experiment metrics from server logs. Most of the changes here are because we need to pass the Profile information through to the Instant field trial code. BUG=91536 TEST=Observe ix=c or ix=e showing up in the URLs sent for suggest/search. Review URL: http://codereview.chromium.org/7558014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96954 0039d316-1c4b-4281-b951-d872f2087c98
* Deploy win flapper via component updatercpu@chromium.org2011-08-101-1/+16
| | | | | | | | | | | | | | - Flapper specific installer - a small bug fix on the updater_configurator - wired into chrome startup in browser_init - changes to chrome_paths to override flapper path TEST=see bug BUG=89248 Review URL: http://codereview.chromium.org/7604023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96247 0039d316-1c4b-4281-b951-d872f2087c98