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

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

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 8 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 | « chrome/browser/extensions/installed_loader.cc ('k') | chrome/browser/gpu/gpu_mode_manager.cc » ('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/first_run/first_run.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h" 14 #include "base/files/file_util.h"
15 #include "base/lazy_instance.h" 15 #include "base/lazy_instance.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/metrics/histogram_macros.h" 19 #include "base/metrics/histogram_macros.h"
20 #include "base/metrics/user_metrics.h"
20 #include "base/path_service.h" 21 #include "base/path_service.h"
21 #include "base/run_loop.h" 22 #include "base/run_loop.h"
22 #include "base/strings/stringprintf.h" 23 #include "base/strings/stringprintf.h"
23 #include "base/strings/utf_string_conversions.h" 24 #include "base/strings/utf_string_conversions.h"
24 #include "build/build_config.h" 25 #include "build/build_config.h"
25 #include "chrome/browser/browser_process.h" 26 #include "chrome/browser/browser_process.h"
26 #include "chrome/browser/chrome_notification_types.h" 27 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/extensions/extension_service.h" 28 #include "chrome/browser/extensions/extension_service.h"
28 #include "chrome/browser/extensions/updater/extension_updater.h" 29 #include "chrome/browser/extensions/updater/extension_updater.h"
29 #include "chrome/browser/first_run/first_run_internal.h" 30 #include "chrome/browser/first_run/first_run_internal.h"
(...skipping 27 matching lines...) Expand all
57 #include "components/pref_registry/pref_registry_syncable.h" 58 #include "components/pref_registry/pref_registry_syncable.h"
58 #include "components/prefs/pref_service.h" 59 #include "components/prefs/pref_service.h"
59 #include "components/search_engines/template_url_service.h" 60 #include "components/search_engines/template_url_service.h"
60 #include "components/signin/core/browser/signin_manager.h" 61 #include "components/signin/core/browser/signin_manager.h"
61 #include "components/signin/core/browser/signin_tracker.h" 62 #include "components/signin/core/browser/signin_tracker.h"
62 #include "content/public/browser/navigation_entry.h" 63 #include "content/public/browser/navigation_entry.h"
63 #include "content/public/browser/notification_observer.h" 64 #include "content/public/browser/notification_observer.h"
64 #include "content/public/browser/notification_registrar.h" 65 #include "content/public/browser/notification_registrar.h"
65 #include "content/public/browser/notification_service.h" 66 #include "content/public/browser/notification_service.h"
66 #include "content/public/browser/notification_types.h" 67 #include "content/public/browser/notification_types.h"
67 #include "content/public/browser/user_metrics.h"
68 #include "content/public/browser/web_contents.h" 68 #include "content/public/browser/web_contents.h"
69 #include "extensions/browser/extension_system.h" 69 #include "extensions/browser/extension_system.h"
70 #include "extensions/common/one_shot_event.h" 70 #include "extensions/common/one_shot_event.h"
71 #include "google_apis/gaia/gaia_auth_util.h" 71 #include "google_apis/gaia/gaia_auth_util.h"
72 #include "ui/base/l10n/l10n_util.h" 72 #include "ui/base/l10n/l10n_util.h"
73 #include "url/gurl.h" 73 #include "url/gurl.h"
74 74
75 namespace content { 75 namespace content {
76 class BrowserContext; 76 class BrowserContext;
77 } 77 }
(...skipping 654 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 SetShouldDoPersonalDataManagerFirstRun(); 732 SetShouldDoPersonalDataManagerFirstRun();
733 733
734 internal::DoPostImportPlatformSpecificTasks(profile); 734 internal::DoPostImportPlatformSpecificTasks(profile);
735 } 735 }
736 736
737 uint16_t auto_import_state() { 737 uint16_t auto_import_state() {
738 return g_auto_import_state; 738 return g_auto_import_state;
739 } 739 }
740 740
741 } // namespace first_run 741 } // namespace first_run
OLDNEW
« no previous file with comments | « chrome/browser/extensions/installed_loader.cc ('k') | chrome/browser/gpu/gpu_mode_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698