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

Side by Side Diff: chrome/browser/content_settings/host_content_settings_map.h

Issue 5367006: Refactor: move HostContentSettingsMap to content_settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 10 years 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) 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 // Maps hostnames to custom content settings. Written on the UI thread and read 5 // Maps hostnames to custom content settings. Written on the UI thread and read
6 // on any thread. One instance per profile. 6 // on any thread. One instance per profile.
7 7
8 #ifndef CHROME_BROWSER_HOST_CONTENT_SETTINGS_MAP_H_ 8 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_
9 #define CHROME_BROWSER_HOST_CONTENT_SETTINGS_MAP_H_ 9 #define CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_
10 #pragma once 10 #pragma once
11 11
12 #include <map> 12 #include <map>
13 #include <string> 13 #include <string>
14 #include <utility> 14 #include <utility>
15 #include <vector> 15 #include <vector>
16 16
17 #include "base/basictypes.h" 17 #include "base/basictypes.h"
18 #include "base/lock.h" 18 #include "base/lock.h"
19 #include "base/ref_counted.h" 19 #include "base/ref_counted.h"
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 DISALLOW_COPY_AND_ASSIGN(HostContentSettingsMap); 344 DISALLOW_COPY_AND_ASSIGN(HostContentSettingsMap);
345 }; 345 };
346 346
347 // Stream operator so HostContentSettingsMap::Pattern can be used in 347 // Stream operator so HostContentSettingsMap::Pattern can be used in
348 // assertion statements. 348 // assertion statements.
349 inline std::ostream& operator<<( 349 inline std::ostream& operator<<(
350 std::ostream& out, const HostContentSettingsMap::Pattern& pattern) { 350 std::ostream& out, const HostContentSettingsMap::Pattern& pattern) {
351 return out << pattern.AsString(); 351 return out << pattern.AsString();
352 } 352 }
353 353
354 #endif // CHROME_BROWSER_HOST_CONTENT_SETTINGS_MAP_H_ 354 #endif // CHROME_BROWSER_CONTENT_SETTINGS_HOST_CONTENT_SETTINGS_MAP_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_setting_image_model_unittest.cc ('k') | chrome/browser/content_settings/host_content_settings_map.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698