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

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

Issue 2354633002: Add //chrome/browser/ui to "gn check". (Closed)
Patch Set: cast_shell_android and chromeos_ozone Created 4 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 | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/test/BUILD.gn » ('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/ui/startup/startup_browser_creator_impl.h" 5 #include "chrome/browser/ui/startup/startup_browser_creator_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 #endif 106 #endif
107 107
108 #if defined(OS_WIN) 108 #if defined(OS_WIN)
109 #include "base/win/windows_version.h" 109 #include "base/win/windows_version.h"
110 #include "chrome/browser/apps/app_launch_for_metro_restart_win.h" 110 #include "chrome/browser/apps/app_launch_for_metro_restart_win.h"
111 #include "chrome/browser/search_engines/template_url_service_factory.h" 111 #include "chrome/browser/search_engines/template_url_service_factory.h"
112 #include "chrome/browser/shell_integration_win.h" 112 #include "chrome/browser/shell_integration_win.h"
113 #endif 113 #endif
114 114
115 #if defined(ENABLE_RLZ) 115 #if defined(ENABLE_RLZ)
116 #include "components/rlz/rlz_tracker.h" 116 #include "components/rlz/rlz_tracker.h" // nogncheck
117 #endif 117 #endif
118 118
119 using content::ChildProcessSecurityPolicy; 119 using content::ChildProcessSecurityPolicy;
120 using content::WebContents; 120 using content::WebContents;
121 using extensions::Extension; 121 using extensions::Extension;
122 122
123 namespace { 123 namespace {
124 124
125 // Utility functions ---------------------------------------------------------- 125 // Utility functions ----------------------------------------------------------
126 126
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 #if defined(OS_WIN) 992 #if defined(OS_WIN)
993 TriggeredProfileResetter* triggered_profile_resetter = 993 TriggeredProfileResetter* triggered_profile_resetter =
994 TriggeredProfileResetterFactory::GetForBrowserContext(profile_); 994 TriggeredProfileResetterFactory::GetForBrowserContext(profile_);
995 // TriggeredProfileResetter instance will be nullptr for incognito profiles. 995 // TriggeredProfileResetter instance will be nullptr for incognito profiles.
996 if (triggered_profile_resetter) { 996 if (triggered_profile_resetter) {
997 has_reset_trigger = triggered_profile_resetter->HasResetTrigger(); 997 has_reset_trigger = triggered_profile_resetter->HasResetTrigger();
998 } 998 }
999 #endif // defined(OS_WIN) 999 #endif // defined(OS_WIN)
1000 return has_reset_trigger; 1000 return has_reset_trigger;
1001 } 1001 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/startup/startup_browser_creator.cc ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698