Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_STORE_H_ | |
| 6 #define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_STORE_H_ | |
| 7 | |
| 8 class PrefService; | |
| 9 | |
| 10 namespace base { | |
| 11 class FilePath; | |
| 12 } // namespace base | |
| 13 | |
| 14 namespace content { | |
| 15 | |
| 16 class HostZoomMap; | |
| 17 | |
| 18 class ZoomLevelPrefsStore { | |
|
Fady Samuel
2014/08/15 15:03:01
Description of what this class is.
wjmaclean
2014/08/15 22:13:50
Done.
| |
| 19 public: | |
| 20 virtual void InitHostZoomMap(const base::FilePath& file_path, | |
|
Fady Samuel
2014/08/15 15:03:01
GetZoomLevels seems like a more appropriate name.
wjmaclean
2014/08/15 22:13:50
Since we are (1) initializing the zoom-level-prefs
| |
| 21 HostZoomMap* host_zoom_map) = 0; | |
| 22 virtual ~ZoomLevelPrefsStore() {} | |
| 23 | |
| 24 // Expose for tests. | |
| 25 virtual PrefService* GetPrefs() = 0; | |
| 26 }; | |
| 27 | |
| 28 } // namespace content | |
| 29 | |
| 30 #endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_STORE_H_ | |
| OLD | NEW |