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

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: 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
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 #include "chrome/browser/component_updater/cld_component_installer.h" 49 #include "chrome/browser/component_updater/cld_component_installer.h"
50 #include "chrome/browser/component_updater/ev_whitelist_component_installer.h" 50 #include "chrome/browser/component_updater/ev_whitelist_component_installer.h"
51 #include "chrome/browser/component_updater/flash_component_installer.h" 51 #include "chrome/browser/component_updater/flash_component_installer.h"
52 #include "chrome/browser/component_updater/recovery_component_installer.h" 52 #include "chrome/browser/component_updater/recovery_component_installer.h"
53 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h " 53 #include "chrome/browser/component_updater/supervised_user_whitelist_installer.h "
54 #include "chrome/browser/component_updater/swiftshader_component_installer.h" 54 #include "chrome/browser/component_updater/swiftshader_component_installer.h"
55 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h" 55 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h"
56 #include "chrome/browser/defaults.h" 56 #include "chrome/browser/defaults.h"
57 #include "chrome/browser/first_run/first_run.h" 57 #include "chrome/browser/first_run/first_run.h"
58 #include "chrome/browser/first_run/upgrade_util.h" 58 #include "chrome/browser/first_run/upgrade_util.h"
59 #include "chrome/browser/google/google_search_counter.h"
60 #include "chrome/browser/gpu/gl_string_manager.h" 59 #include "chrome/browser/gpu/gl_string_manager.h"
61 #include "chrome/browser/gpu/three_d_api_observer.h" 60 #include "chrome/browser/gpu/three_d_api_observer.h"
62 #include "chrome/browser/media/media_capture_devices_dispatcher.h" 61 #include "chrome/browser/media/media_capture_devices_dispatcher.h"
63 #include "chrome/browser/memory/oom_priority_manager.h" 62 #include "chrome/browser/memory/oom_priority_manager.h"
64 #include "chrome/browser/metrics/field_trial_synchronizer.h" 63 #include "chrome/browser/metrics/field_trial_synchronizer.h"
65 #include "chrome/browser/metrics/metrics_services_manager.h" 64 #include "chrome/browser/metrics/metrics_services_manager.h"
66 #include "chrome/browser/metrics/thread_watcher.h" 65 #include "chrome/browser/metrics/thread_watcher.h"
67 #include "chrome/browser/metrics/variations/variations_service.h" 66 #include "chrome/browser/metrics/variations/variations_service.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"
(...skipping 1411 matching lines...) Expand 10 before | Expand all | Expand 10 after
1481 // sleep for seven seconds (to avoid slowing startup), and wake up afterwards 1480 // sleep for seven seconds (to avoid slowing startup), and wake up afterwards
1482 // to see if it should do anything else. 1481 // to see if it should do anything else.
1483 // 1482 //
1484 // A simpler way of doing all this would be to have some function which could 1483 // A simpler way of doing all this would be to have some function which could
1485 // give the time elapsed since startup, and simply have this object check that 1484 // give the time elapsed since startup, and simply have this object check that
1486 // when asked to initialize itself, but this doesn't seem to exist. 1485 // when asked to initialize itself, but this doesn't seem to exist.
1487 // 1486 //
1488 // This can't be created in the BrowserProcessImpl constructor because it 1487 // This can't be created in the BrowserProcessImpl constructor because it
1489 // needs to read prefs that get set after that runs. 1488 // needs to read prefs that get set after that runs.
1490 browser_process_->intranet_redirect_detector(); 1489 browser_process_->intranet_redirect_detector();
1491 GoogleSearchCounter::RegisterForNotifications();
1492 1490
1493 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 1491 #if defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
1494 if (parsed_command_line().HasSwitch(switches::kDebugPrint)) { 1492 if (parsed_command_line().HasSwitch(switches::kDebugPrint)) {
1495 base::FilePath path = 1493 base::FilePath path =
1496 parsed_command_line().GetSwitchValuePath(switches::kDebugPrint); 1494 parsed_command_line().GetSwitchValuePath(switches::kDebugPrint);
1497 printing::PrintedDocument::set_debug_dump_path(path); 1495 printing::PrintedDocument::set_debug_dump_path(path);
1498 } 1496 }
1499 #endif // defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD) 1497 #endif // defined(ENABLE_PRINT_PREVIEW) && !defined(OFFICIAL_BUILD)
1500 1498
1501 HandleTestParameters(parsed_command_line()); 1499 HandleTestParameters(parsed_command_line());
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 chromeos::CrosSettings::Shutdown(); 1790 chromeos::CrosSettings::Shutdown();
1793 #endif // defined(OS_CHROMEOS) 1791 #endif // defined(OS_CHROMEOS)
1794 #endif // defined(OS_ANDROID) 1792 #endif // defined(OS_ANDROID)
1795 } 1793 }
1796 1794
1797 // Public members: 1795 // Public members:
1798 1796
1799 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { 1797 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
1800 chrome_extra_parts_.push_back(parts); 1798 chrome_extra_parts_.push_back(parts);
1801 } 1799 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_android.h » ('j') | chrome/browser/chrome_browser_main_android.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698