Chromium Code Reviews| Index: chrome/common/chrome_content_settings_client.h |
| diff --git a/chrome/common/chrome_content_settings_client.h b/chrome/common/chrome_content_settings_client.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6b67019fdeafc6498acccb288610825cbcacd39a |
| --- /dev/null |
| +++ b/chrome/common/chrome_content_settings_client.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_COMMON_CHROME_CONTENT_SETTINGS_CLIENT_H_ |
| +#define CHROME_COMMON_CHROME_CONTENT_SETTINGS_CLIENT_H_ |
| + |
| +#include "base/macros.h" |
| +#include "components/content_settings/core/common/content_settings_client.h" |
| + |
| +namespace content_settings { |
|
blundell
2014/08/07 07:06:34
nit: code in //chrome shouldn't be namespaced.
|
| + |
| +class ChromeContentSettingsClient : public ContentSettingsClient { |
| + public: |
| + ChromeContentSettingsClient() {} |
| + virtual ~ChromeContentSettingsClient() {} |
| + |
| + virtual bool IsExtensionScheme(const std::string& scheme) OVERRIDE; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ChromeContentSettingsClient); |
| +}; |
| + |
| +} // namespace content_settings |
| +#endif // CHROME_COMMON_CHROME_CONTENT_SETTINGS_CLIENT_H_ |