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

Unified Diff: chrome/browser/extensions/extension_preference_helpers.h

Issue 7029031: Content settings extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 6 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/extension_preference_helpers.h
diff --git a/chrome/browser/extensions/extension_preference_helpers.h b/chrome/browser/extensions/extension_preference_helpers.h
new file mode 100644
index 0000000000000000000000000000000000000000..ab7aed6173ec3f00e8b8fe8d0b24187b11a79b5f
--- /dev/null
+++ b/chrome/browser/extensions/extension_preference_helpers.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2011 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_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_HELPERS_H_
+#define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_HELPERS_H_
+#pragma once
+
+#include <string>
+
+#include "chrome/browser/extensions/extension_prefs_scope.h"
+
+namespace extension_preference_helpers {
+bool StringToScope(const std::string& s, extension_prefs_scope::Scope* scope);
+}
+
+#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFERENCE_HELPERS_H_

Powered by Google App Engine
This is Rietveld 408576698