Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Side by Side Diff: chrome/browser/chrome_browser_main.cc

Issue 1320553002: [Cleanup] Remove the no longer used GoogleSearch.AccessPoint metric. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a stale forward declaration Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_android.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chrome_browser_main.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 #include "chrome/browser/component_updater/cld_component_installer.h" 50 #include "chrome/browser/component_updater/cld_component_installer.h"
51 #include "chrome/browser/component_updater/ev_whitelist_component_installer.h" 51 #include "chrome/browser/component_updater/ev_whitelist_component_installer.h"
52 #include "chrome/browser/component_updater/flash_component_installer.h" 52 #include "chrome/browser/component_updater/flash_component_installer.h"
53 #include "chrome/browser/component_updater/recovery_component_installer.h" 53 #include "chrome/browser/component_updater/recovery_component_installer.h"
54 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h " 54 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h "
55 #include "chrome/browser/component_updater/swiftshader_component_installer.h" 55 #include "chrome/browser/component_updater/swiftshader_component_installer.h"
56 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h" 56 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h"
57 #include "chrome/browser/defaults.h" 57 #include "chrome/browser/defaults.h"
58 #include "chrome/browser/first_run/first_run.h" 58 #include "chrome/browser/first_run/first_run.h"
59 #include "chrome/browser/first_run/upgrade_util.h" 59 #include "chrome/browser/first_run/upgrade_util.h"
60 #include "chrome/browser/google/google_search_counter.h"
61 #include "chrome/browser/gpu/gl_string_manager.h" 60 #include "chrome/browser/gpu/gl_string_manager.h"
62 #include "chrome/browser/gpu/three_d_api_observer.h" 61 #include "chrome/browser/gpu/three_d_api_observer.h"
63 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 62 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
64 #include "chrome/browser/memory/oom_priority_manager.h" 63 #include "chrome/browser/memory/oom_priority_manager.h"
65 #include "chrome/browser/metrics/field_trial_synchronizer.h" 64 #include "chrome/browser/metrics/field_trial_synchronizer.h"
66 #include "chrome/browser/metrics/metrics_services_manager.h" 65 #include "chrome/browser/metrics/metrics_services_manager.h"
67 #include "chrome/browser/metrics/thread_watcher.h" 66 #include "chrome/browser/metrics/thread_watcher.h"
68 #include "chrome/browser/nacl_host/nacl_browser_delegate_impl.h" 67 #include "chrome/browser/nacl_host/nacl_browser_delegate_impl.h"
69 #include "chrome/browser/net/chrome_net_log.h" 68 #include "chrome/browser/net/chrome_net_log.h"
70 #include "chrome/browser/net/crl_set_fetcher.h" 69 #include "chrome/browser/net/crl_set_fetcher.h"
(...skipping 1470 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 // sleep for seven seconds (to avoid slowing startup), and wake up afterwards 1540 // sleep for seven seconds (to avoid slowing startup), and wake up afterwards
1542 // to see if it should do anything else. 1541 // to see if it should do anything else.
1543 // 1542 //
1544 // A simpler way of doing all this would be to have some function which could 1543 // A simpler way of doing all this would be to have some function which could
1545 // give the time elapsed since startup, and simply have this object check that 1544 // give the time elapsed since startup, and simply have this object check that
1546 // when asked to initialize itself, but this doesn't seem to exist. 1545 // when asked to initialize itself, but this doesn't seem to exist.
1547 // 1546 //
1548 // This can't be created in the BrowserProcessImpl constructor because it 1547 // This can't be created in the BrowserProcessImpl constructor because it
1549 // needs to read prefs that get set after that runs. 1548 // needs to read prefs that get set after that runs.
1550 browser_process_->intranet_redirect_detector(); 1549 browser_process_->intranet_redirect_detector();
1551 GoogleSearchCounter::RegisterForNotifications();
1552 1550
1553 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 1551 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
1554 if (parsed_command_line().HasSwitch(switches::kDebugPrint)) { 1552 if (parsed_command_line().HasSwitch(switches::kDebugPrint)) {
1555 base::FilePath path = 1553 base::FilePath path =
1556 parsed_command_line().GetSwitchValuePath(switches::kDebugPrint); 1554 parsed_command_line().GetSwitchValuePath(switches::kDebugPrint);
1557 printing::PrintedDocument::set_debug_dump_path(path); 1555 printing::PrintedDocument::set_debug_dump_path(path);
1558 } 1556 }
1559 #endif // defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 1557 #endif // defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
1560 1558
1561 HandleTestParameters(parsed_command_line()); 1559 HandleTestParameters(parsed_command_line());
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
1848 chromeos::CrosSettings::Shutdown(); 1846 chromeos::CrosSettings::Shutdown();
1849 #endif // defined(OS_CHROMEOS) 1847 #endif // defined(OS_CHROMEOS)
1850 #endif // defined(OS_ANDROID) 1848 #endif // defined(OS_ANDROID)
1851 } 1849 }
1852 1850
1853 // Public members: 1851 // Public members:
1854 1852
1855 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { 1853 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
1856 chrome_extra_parts_.push_back(parts); 1854 chrome_extra_parts_.push_back(parts);
1857 } 1855 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698