OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_INIT_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_INIT_H_ |
6 #define CHROME_BROWSER_BROWSER_INIT_H_ | 6 #define CHROME_BROWSER_BROWSER_INIT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
16 | 16 |
17 class Browser; | 17 class Browser; |
18 class CommandLine; | 18 class CommandLine; |
19 class GURL; | 19 class GURL; |
20 class PrefService; | |
21 class Profile; | 20 class Profile; |
22 class TabContents; | 21 class TabContents; |
23 #if defined(OS_CHROMEOS) | |
24 namespace chromeos { | |
25 class ServicesCustomizationDocument; | |
26 } | |
27 #endif | |
28 | 22 |
29 // class containing helpers for BrowserMain to spin up a new instance and | 23 // class containing helpers for BrowserMain to spin up a new instance and |
30 // initialize the profile. | 24 // initialize the profile. |
31 class BrowserInit { | 25 class BrowserInit { |
32 public: | 26 public: |
33 BrowserInit() {} | 27 BrowserInit() {} |
34 ~BrowserInit() {} | 28 ~BrowserInit() {} |
35 | 29 |
36 // Adds a url to be opened during first run. This overrides the standard | 30 // Adds a url to be opened during first run. This overrides the standard |
37 // tabs shown at first run. | 31 // tabs shown at first run. |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 Profile* profile, int* return_code, | 191 Profile* profile, int* return_code, |
198 BrowserInit* browser_init); | 192 BrowserInit* browser_init); |
199 | 193 |
200 // Additional tabs to open during first run. | 194 // Additional tabs to open during first run. |
201 std::vector<GURL> first_run_tabs_; | 195 std::vector<GURL> first_run_tabs_; |
202 | 196 |
203 DISALLOW_COPY_AND_ASSIGN(BrowserInit); | 197 DISALLOW_COPY_AND_ASSIGN(BrowserInit); |
204 }; | 198 }; |
205 | 199 |
206 #endif // CHROME_BROWSER_BROWSER_INIT_H_ | 200 #endif // CHROME_BROWSER_BROWSER_INIT_H_ |
OLD | NEW |