OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 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 CHROME_COMMON_CHROME_CONTENT_SETTINGS_CLIENT_H_ | |
6 #define CHROME_COMMON_CHROME_CONTENT_SETTINGS_CLIENT_H_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "components/content_settings/core/common/content_settings_client.h" | |
10 | |
11 namespace content_settings { | |
blundell
2014/08/07 07:06:34
nit: code in //chrome shouldn't be namespaced.
| |
12 | |
13 class ChromeContentSettingsClient : public ContentSettingsClient { | |
14 public: | |
15 ChromeContentSettingsClient() {} | |
16 virtual ~ChromeContentSettingsClient() {} | |
17 | |
18 virtual bool IsExtensionScheme(const std::string& scheme) OVERRIDE; | |
19 | |
20 private: | |
21 DISALLOW_COPY_AND_ASSIGN(ChromeContentSettingsClient); | |
22 }; | |
23 | |
24 } // namespace content_settings | |
25 #endif // CHROME_COMMON_CHROME_CONTENT_SETTINGS_CLIENT_H_ | |
OLD | NEW |