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

Unified Diff: chrome/browser/extensions/api/content_settings/content_settings_api.h

Issue 10381097: Move content settings extension API to content_settings dir. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: renamed to ContentSettingsStore and moved to extensions namespace Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/api/content_settings/content_settings_api.h
diff --git a/chrome/browser/extensions/extension_content_settings_api.h b/chrome/browser/extensions/api/content_settings/content_settings_api.h
similarity index 85%
rename from chrome/browser/extensions/extension_content_settings_api.h
rename to chrome/browser/extensions/api/content_settings/content_settings_api.h
index dbae333ad076fc858a9d3f5e60658c5c649b5745..eeb44aa250299c9ff9a97377c393ed8646a96400 100644
--- a/chrome/browser/extensions/extension_content_settings_api.h
+++ b/chrome/browser/extensions/api/content_settings/content_settings_api.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__
-#define CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__
+#ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__
+#define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__
#pragma once
#include "chrome/browser/extensions/extension_function.h"
@@ -14,6 +14,8 @@ class PluginGroup;
}
}
+namespace extensions {
+
class ClearContentSettingsFunction : public SyncExtensionFunction {
public:
DECLARE_EXTENSION_FUNCTION_NAME("contentSettings.clear")
@@ -68,4 +70,6 @@ class GetResourceIdentifiersFunction : public AsyncExtensionFunction {
const std::vector<webkit::npapi::PluginGroup>* plugin_groups);
};
-#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_CONTENT_SETTINGS_API_H__
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_API_H__

Powered by Google App Engine
This is Rietveld 408576698