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

Side by Side Diff: content/browser/host_zoom_map.h

Issue 7575010: Removal of Profile from content part 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Maps hostnames to custom zoom levels. Written on the UI thread and read on 5 // Maps hostnames to custom zoom levels. Written on the UI thread and read on
6 // any thread. One instance per profile. 6 // any thread. One instance per browser context.
7 7
8 #ifndef CONTENT_BROWSER_HOST_ZOOM_MAP_H_ 8 #ifndef CONTENT_BROWSER_HOST_ZOOM_MAP_H_
9 #define CONTENT_BROWSER_HOST_ZOOM_MAP_H_ 9 #define CONTENT_BROWSER_HOST_ZOOM_MAP_H_
10 #pragma once 10 #pragma once
11 11
12 #include <map> 12 #include <map>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/basictypes.h" 16 #include "base/basictypes.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 // Used around accesses to |host_zoom_levels_|, |default_zoom_level_| and 97 // Used around accesses to |host_zoom_levels_|, |default_zoom_level_| and
98 // |temporary_zoom_levels_| to guarantee thread safety. 98 // |temporary_zoom_levels_| to guarantee thread safety.
99 mutable base::Lock lock_; 99 mutable base::Lock lock_;
100 100
101 NotificationRegistrar registrar_; 101 NotificationRegistrar registrar_;
102 102
103 DISALLOW_COPY_AND_ASSIGN(HostZoomMap); 103 DISALLOW_COPY_AND_ASSIGN(HostZoomMap);
104 }; 104 };
105 105
106 #endif // CONTENT_BROWSER_HOST_ZOOM_MAP_H_ 106 #endif // CONTENT_BROWSER_HOST_ZOOM_MAP_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/location_arbitrator.cc ('k') | content/browser/in_process_webkit/dom_storage_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698