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

Side by Side Diff: components/content_settings/core/browser/content_settings_client.h

Issue 646973002: Introduce ChromeContentSettingsClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TODO added + typo fixed Created 6 years, 2 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
« no previous file with comments | « components/content_settings/core/browser/DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 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 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 COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_CLIENT_H_ 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_CLIENT_H_
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_CLIENT_H_ 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "net/cookies/canonical_cookie.h"
12 13
13 class GURL; 14 class GURL;
14 class LocalSharedObjectsCounter; 15 class LocalSharedObjectsCounter;
15 16
16 namespace net { 17 namespace net {
17 class CookieList;
18 class CookieOptions; 18 class CookieOptions;
19 } 19 }
20 20
21 namespace content_settings { 21 namespace content_settings {
22 22
23 // An abstraction of operations that depend on the embedder (e.g. Chrome). 23 // An abstraction of operations that depend on the embedder (e.g. Chrome).
24 // For mock / testing implementation in tests you can inherit from 24 // For mock / testing implementation in tests you can inherit from
25 // StubContentSettingsClient instead to avoid the need to stub unneeded pure 25 // StubContentSettingsClient instead to avoid the need to stub unneeded pure
26 // virtual methods. 26 // virtual methods.
27 class ContentSettingsClient { 27 class ContentSettingsClient {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual const LocalSharedObjectsCounter& local_shared_objects( 64 virtual const LocalSharedObjectsCounter& local_shared_objects(
65 AccessType type) const = 0; 65 AccessType type) const = 0;
66 66
67 private: 67 private:
68 DISALLOW_COPY_AND_ASSIGN(ContentSettingsClient); 68 DISALLOW_COPY_AND_ASSIGN(ContentSettingsClient);
69 }; 69 };
70 70
71 } // namespace content_settings 71 } // namespace content_settings
72 72
73 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_CLIENT_H_ 73 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_CONTENT_SETTINGS_CLIENT_H_
OLDNEW
« no previous file with comments | « components/content_settings/core/browser/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698