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