| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TABS_PINNED_TAB_CODEC_H_ | 5 #ifndef CHROME_BROWSER_TABS_PINNED_TAB_CODEC_H_ |
| 6 #define CHROME_BROWSER_TABS_PINNED_TAB_CODEC_H_ | 6 #define CHROME_BROWSER_TABS_PINNED_TAB_CODEC_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 #include <vector> | 9 #include <vector> |
| 11 | 10 |
| 12 #include "chrome/browser/browser_init.h" | 11 #include "chrome/browser/browser_init.h" |
| 13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 14 | 13 |
| 15 class PrefService; | 14 class PrefService; |
| 16 class Profile; | 15 class Profile; |
| 17 | 16 |
| 18 // PinnedTabCodec is used to read and write the set of pinned tabs to | 17 // PinnedTabCodec is used to read and write the set of pinned tabs to |
| 19 // preferences. When Chrome exits the sets of pinned tabs are written to prefs. | 18 // preferences. When Chrome exits the sets of pinned tabs are written to prefs. |
| (...skipping 15 matching lines...) Expand all Loading... |
| 35 Profile* profile); | 34 Profile* profile); |
| 36 | 35 |
| 37 private: | 36 private: |
| 38 PinnedTabCodec(); | 37 PinnedTabCodec(); |
| 39 ~PinnedTabCodec(); | 38 ~PinnedTabCodec(); |
| 40 | 39 |
| 41 DISALLOW_COPY_AND_ASSIGN(PinnedTabCodec); | 40 DISALLOW_COPY_AND_ASSIGN(PinnedTabCodec); |
| 42 }; | 41 }; |
| 43 | 42 |
| 44 #endif // CHROME_BROWSER_TABS_PINNED_TAB_CODEC_H_ | 43 #endif // CHROME_BROWSER_TABS_PINNED_TAB_CODEC_H_ |
| OLD | NEW |