OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_INIT_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_INIT_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_INIT_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_INIT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 // Callback after a profile has been created. | 248 // Callback after a profile has been created. |
249 static void ProcessCommandLineOnProfileCreated( | 249 static void ProcessCommandLineOnProfileCreated( |
250 const CommandLine& cmd_line, | 250 const CommandLine& cmd_line, |
251 const FilePath& cur_dir, | 251 const FilePath& cur_dir, |
252 Profile* profile, | 252 Profile* profile, |
253 Profile::CreateStatus status); | 253 Profile::CreateStatus status); |
254 | 254 |
255 // Additional tabs to open during first run. | 255 // Additional tabs to open during first run. |
256 std::vector<GURL> first_run_tabs_; | 256 std::vector<GURL> first_run_tabs_; |
257 | 257 |
258 // Stores the value of the preference kWasRestarted had when it was read. | |
259 static bool was_restarted_; | |
260 // True if we have already read and reset the preference kWasRestarted. | |
261 static bool was_restarted_read_; | |
262 | |
263 DISALLOW_COPY_AND_ASSIGN(BrowserInit); | 258 DISALLOW_COPY_AND_ASSIGN(BrowserInit); |
264 }; | 259 }; |
265 | 260 |
266 #endif // CHROME_BROWSER_UI_BROWSER_INIT_H_ | 261 #endif // CHROME_BROWSER_UI_BROWSER_INIT_H_ |
OLD | NEW |