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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_ 5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_
6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_ 6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "chrome/browser/prefs/session_startup_pref.h" 15 #include "chrome/browser/prefs/session_startup_pref.h"
16 #include "chrome/browser/profiles/profile.h" 16 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/browser/ui/startup/startup_tab.h" 17 #include "chrome/browser/ui/startup/startup_tab.h"
18 #include "chrome/browser/ui/startup/startup_types.h" 18 #include "chrome/browser/ui/startup/startup_types.h"
19 #include "url/gurl.h" 19 #include "url/gurl.h"
20 20
21 class Browser;
22 class GURL; 21 class GURL;
23 class PrefRegistrySimple; 22 class PrefRegistrySimple;
24 class PrefService;
25 23
26 namespace base { 24 namespace base {
27 class CommandLine; 25 class CommandLine;
28 } 26 }
29 27
30 // class containing helpers for BrowserMain to spin up a new instance and 28 // class containing helpers for BrowserMain to spin up a new instance and
31 // initialize the profile. 29 // initialize the profile.
32 class StartupBrowserCreator { 30 class StartupBrowserCreator {
33 public: 31 public:
34 typedef std::vector<Profile*> Profiles; 32 typedef std::vector<Profile*> Profiles;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 const base::CommandLine& command_line); 191 const base::CommandLine& command_line);
194 192
195 // Returns the profile that should be loaded on process startup when 193 // Returns the profile that should be loaded on process startup when
196 // GetStartupProfile() returns null. As with GetStartupProfile(), returning the 194 // GetStartupProfile() returns null. As with GetStartupProfile(), returning the
197 // guest profile means the caller should open the user manager. This may return 195 // guest profile means the caller should open the user manager. This may return
198 // null if neither any profile nor the user manager can be opened. 196 // null if neither any profile nor the user manager can be opened.
199 Profile* GetFallbackStartupProfile(); 197 Profile* GetFallbackStartupProfile();
200 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 198 #endif // !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
201 199
202 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_ 200 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/signin_view_controller_delegate.h ('k') | chrome/browser/ui/startup/startup_browser_creator_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698