Index: chrome/browser/tabs/pinned_tab_codec.h |
=================================================================== |
--- chrome/browser/tabs/pinned_tab_codec.h (revision 136581) |
+++ chrome/browser/tabs/pinned_tab_codec.h (working copy) |
@@ -8,7 +8,7 @@ |
#include <vector> |
-#include "chrome/browser/ui/startup/startup_tab.h" |
+#include "chrome/browser/ui/startup/startup_browser_creator.h" |
#include "googleurl/src/gurl.h" |
namespace base { |
@@ -27,6 +27,8 @@ |
// dictionary describing the entry. |
class PinnedTabCodec { |
public: |
+ typedef std::vector<StartupBrowserCreator::LaunchWithProfile::Tab> Tabs; |
+ |
// Registers the preference used by this class. |
static void RegisterUserPrefs(PrefService* prefs); |
@@ -34,11 +36,11 @@ |
static void WritePinnedTabs(Profile* profile); |
// Sets the preferences state from the specified tab list. |
- static void WritePinnedTabs(Profile* profile, const StartupTabs& tabs); |
+ static void WritePinnedTabs(Profile* profile, const Tabs& tabs); |
// Reads and returns the set of pinned tabs to restore from preferences. |
- static StartupTabs ReadPinnedTabs(Profile* profile); |
- static StartupTabs ReadPinnedTabs(const base::Value* value); |
+ static Tabs ReadPinnedTabs(Profile* profile); |
+ static Tabs ReadPinnedTabs(const base::Value* value); |
private: |
PinnedTabCodec(); |