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 COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_CLIENT_H_ | |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_CLIENT_H_ | |
7 | |
8 #include <string> | |
9 | |
10 #include "base/macros.h" | |
11 | |
12 namespace content_settings { | |
13 | |
14 class ContentSettingsClient { | |
15 public: | |
16 ContentSettingsClient() {} | |
17 virtual ~ContentSettingsClient() {} | |
18 | |
19 virtual bool IsExtensionScheme(const std::string& scheme); | |
vabr (Chromium)
2014/08/06 15:14:01
The way this method is used, I would rather call i
vasilii
2014/08/11 13:57:18
url::kFileScheme is used separately in the parser.
| |
20 | |
21 private: | |
22 DISALLOW_COPY_AND_ASSIGN(ContentSettingsClient); | |
23 }; | |
24 | |
25 } // namespace content_settings | |
26 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_CLIENT_H_ | |
OLD | NEW |