| 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_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 |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 | 167 |
| 168 DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreator); | 168 DISALLOW_COPY_AND_ASSIGN(StartupBrowserCreator); |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 // Returns true if |profile| has exited uncleanly and has not been launched | 171 // Returns true if |profile| has exited uncleanly and has not been launched |
| 172 // after the unclean exit. | 172 // after the unclean exit. |
| 173 bool HasPendingUncleanExit(Profile* profile); | 173 bool HasPendingUncleanExit(Profile* profile); |
| 174 | 174 |
| 175 // Returns the path that contains the profile that should be loaded on process | 175 // Returns the path that contains the profile that should be loaded on process |
| 176 // startup. | 176 // startup. |
| 177 base::FilePath GetStartupProfilePath(const base::FilePath& user_data_dir, | 177 base::FilePath GetStartupProfilePath(const base::CommandLine& command_line); |
| 178 const base::CommandLine& command_line); | |
| 179 | 178 |
| 180 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_ | 179 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_BROWSER_CREATOR_H_ |
| OLD | NEW |