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

Side by Side Diff: chrome/browser/ui/startup/startup_browser_creator.cc

Issue 2771233002: Remove the wrapper functions content::RecordAction et al (Closed)
Patch Set: Rebased Created 3 years, 9 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/ui/startup/startup_browser_creator.h" 5 #include "chrome/browser/ui/startup/startup_browser_creator.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> // For max(). 9 #include <algorithm> // For max().
10 #include <limits> 10 #include <limits>
11 #include <memory> 11 #include <memory>
12 #include <set> 12 #include <set>
13 13
14 #include "apps/app_load_service.h" 14 #include "apps/app_load_service.h"
15 #include "apps/switches.h" 15 #include "apps/switches.h"
16 #include "base/bind.h" 16 #include "base/bind.h"
17 #include "base/bind_helpers.h" 17 #include "base/bind_helpers.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/compiler_specific.h" 19 #include "base/compiler_specific.h"
20 #include "base/debug/alias.h" 20 #include "base/debug/alias.h"
21 #include "base/environment.h" 21 #include "base/environment.h"
22 #include "base/files/file_path.h" 22 #include "base/files/file_path.h"
23 #include "base/files/file_util.h" 23 #include "base/files/file_util.h"
24 #include "base/lazy_instance.h" 24 #include "base/lazy_instance.h"
25 #include "base/logging.h" 25 #include "base/logging.h"
26 #include "base/macros.h" 26 #include "base/macros.h"
27 #include "base/metrics/histogram_macros.h" 27 #include "base/metrics/histogram_macros.h"
28 #include "base/metrics/statistics_recorder.h" 28 #include "base/metrics/statistics_recorder.h"
29 #include "base/metrics/user_metrics.h"
30 #include "base/metrics/user_metrics_action.h" 29 #include "base/metrics/user_metrics_action.h"
31 #include "base/strings/string_number_conversions.h" 30 #include "base/strings/string_number_conversions.h"
32 #include "base/strings/string_split.h" 31 #include "base/strings/string_split.h"
33 #include "base/strings/string_tokenizer.h" 32 #include "base/strings/string_tokenizer.h"
34 #include "base/strings/string_util.h" 33 #include "base/strings/string_util.h"
35 #include "base/strings/utf_string_conversions.h" 34 #include "base/strings/utf_string_conversions.h"
36 #include "base/task_scheduler/post_task.h" 35 #include "base/task_scheduler/post_task.h"
37 #include "base/threading/thread_restrictions.h" 36 #include "base/threading/thread_restrictions.h"
38 #include "base/trace_event/trace_event.h" 37 #include "base/trace_event/trace_event.h"
39 #include "build/build_config.h" 38 #include "build/build_config.h"
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
1010 if (!entry->IsSigninRequired()) { 1009 if (!entry->IsSigninRequired()) {
1011 Profile* profile = profile_manager->GetProfile(entry->GetPath()); 1010 Profile* profile = profile_manager->GetProfile(entry->GetPath());
1012 if (profile) 1011 if (profile)
1013 return profile; 1012 return profile;
1014 } 1013 }
1015 } 1014 }
1016 1015
1017 return nullptr; 1016 return nullptr;
1018 } 1017 }
1019 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 1018 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/default_browser_infobar_delegate.cc ('k') | chrome/browser/ui/sync/one_click_signin_sync_starter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698