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_PREFS_SESSION_STARTUP_PREF_H__ | 5 #ifndef CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ |
6 #define CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ | 6 #define CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "googleurl/src/gurl.h" | 10 #include "googleurl/src/gurl.h" |
12 | 11 |
13 class PrefService; | 12 class PrefService; |
14 class Profile; | 13 class Profile; |
15 | 14 |
16 // StartupPref specifies what should happen at startup for a specified profile. | 15 // StartupPref specifies what should happen at startup for a specified profile. |
17 // StartupPref is stored in the preferences for a particular profile. | 16 // StartupPref is stored in the preferences for a particular profile. |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 ~SessionStartupPref(); | 83 ~SessionStartupPref(); |
85 | 84 |
86 // What to do on startup. | 85 // What to do on startup. |
87 Type type; | 86 Type type; |
88 | 87 |
89 // The URLs to restore. Only used if type == URLS. | 88 // The URLs to restore. Only used if type == URLS. |
90 std::vector<GURL> urls; | 89 std::vector<GURL> urls; |
91 }; | 90 }; |
92 | 91 |
93 #endif // CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ | 92 #endif // CHROME_BROWSER_PREFS_SESSION_STARTUP_PREF_H__ |
OLD | NEW |