| OLD | NEW |
| 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_IMPL_H_ | 5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ |
| 6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ | 6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_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 "chrome/browser/ui/startup/startup_tab.h" | 14 #include "chrome/browser/ui/startup/startup_tab.h" |
| 15 #include "chrome/browser/ui/startup/startup_tab_provider.h" | 15 #include "chrome/browser/ui/startup/startup_tab_provider.h" |
| 16 #include "chrome/browser/ui/startup/startup_types.h" | 16 #include "chrome/browser/ui/startup/startup_types.h" |
| 17 #include "url/gurl.h" | 17 #include "url/gurl.h" |
| 18 | 18 |
| 19 class Browser; | 19 class Browser; |
| 20 class Profile; | 20 class Profile; |
| 21 class StartupBrowserCreator; | 21 class StartupBrowserCreator; |
| 22 | 22 |
| 23 namespace base { | 23 namespace base { |
| 24 class CommandLine; | 24 class CommandLine; |
| 25 class FilePath; | 25 class FilePath; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace content { | |
| 29 class WebContents; | |
| 30 } | |
| 31 | |
| 32 namespace internals { | 28 namespace internals { |
| 33 GURL GetTriggeredResetSettingsURL(); | 29 GURL GetTriggeredResetSettingsURL(); |
| 34 GURL GetWelcomePageURL(); | 30 GURL GetWelcomePageURL(); |
| 35 } // namespace internals | 31 } // namespace internals |
| 36 | 32 |
| 37 // Assists launching the application and appending the initial tabs for a | 33 // Assists launching the application and appending the initial tabs for a |
| 38 // browser window. | 34 // browser window. |
| 39 class StartupBrowserCreatorImpl { | 35 class StartupBrowserCreatorImpl { |
| 40 public: | 36 public: |
| 41 // There are two ctors. The first one implies a NULL browser_creator object | 37 // There are two ctors. The first one implies a NULL browser_creator object |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 const base::FilePath cur_dir_; | 224 const base::FilePath cur_dir_; |
| 229 const base::CommandLine& command_line_; | 225 const base::CommandLine& command_line_; |
| 230 Profile* profile_; | 226 Profile* profile_; |
| 231 StartupBrowserCreator* browser_creator_; | 227 StartupBrowserCreator* browser_creator_; |
| 232 bool is_first_run_; | 228 bool is_first_run_; |
| 233 WelcomeRunType welcome_run_type_; | 229 WelcomeRunType welcome_run_type_; |
| 234 DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreatorImpl); | 230 DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreatorImpl); |
| 235 }; | 231 }; |
| 236 | 232 |
| 237 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ | 233 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_IMPL_H_ |
| OLD | NEW |