| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_SESSION_STARTUP_PREF_H__ | 5 #ifndef CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ |
| 6 #define CHROME_BROWSER_SESSION_STARTUP_PREF_H__ | 6 #define CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 | 12 |
| 13 class PrefService; | 13 class PrefService; |
| 14 class Profile; | 14 class Profile; |
| 15 | 15 |
| 16 // StartupPref specifies what should happen at startup for a specified profile. | 16 // StartupPref specifies what should happen at startup for a specified profile. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 explicit SessionStartupPref(Type type) : type(type) {} | 42 explicit SessionStartupPref(Type type) : type(type) {} |
| 43 | 43 |
| 44 // What to do on startup. | 44 // What to do on startup. |
| 45 Type type; | 45 Type type; |
| 46 | 46 |
| 47 // The URLs to restore. Only used if type == URLS. | 47 // The URLs to restore. Only used if type == URLS. |
| 48 std::vector<GURL> urls; | 48 std::vector<GURL> urls; |
| 49 }; | 49 }; |
| 50 | 50 |
| 51 #endif // CHROME_BROWSER_SESSION_STARTUP_PREF_H__ | 51 #endif // CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ |
| OLD | NEW |