Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Side by Side Diff: content/public/browser/zoom_level_prefs_delegate.h

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ref counts, improve comments. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_DELEGATE
6 #define CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE
7
8 #include "base/memory/ref_counted.h"
Fady Samuel 2014/08/13 19:45:43 Why is this here?
wjmaclean 2014/08/14 18:18:21 Cruft, removed.
9
10 class PrefService;
11
12 namespace base {
13 class FilePath;
14 } // namespace base
15
16 namespace content {
17
18 class HostZoomMap;
19
20 class ZoomLevelPrefsDelegate {
Fady Samuel 2014/08/13 19:45:43 This name is odd as it doesn't expose any particul
wjmaclean 2014/08/14 18:18:21 Done.
21 public:
22 virtual void InitZoomLevels(const base::FilePath& file_path,
23 HostZoomMap* host_zoom_map) = 0;
24 virtual ~ZoomLevelPrefsDelegate() {}
25
26 // Expose for tests.
27 virtual PrefService* GetPrefs() = 0;
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_PUBLIC_BROWSER_ZOOM_LEVEL_PREFS_DELEGATE
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698