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

Unified Diff: chrome/common/chrome_content_settings_client.cc

Issue 440423003: Clean content_settings_pattern_parser.* from unnecessary dependencies. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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/common/chrome_content_settings_client.cc
diff --git a/chrome/common/chrome_content_settings_client.cc b/chrome/common/chrome_content_settings_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..59cc3964c7dcf3133c2a89df84720e02058ac137
--- /dev/null
+++ b/chrome/common/chrome_content_settings_client.cc
@@ -0,0 +1,15 @@
+// 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.
+
+#include "chrome/common/chrome_content_settings_client.h"
+
+#include "extensions/common/constants.h"
+
+namespace content_settings {
+
+bool ChromeContentSettingsClient::IsExtensionScheme(const std::string& scheme) {
+ return scheme == extensions::kExtensionScheme;
+}
+
+} // namespace content_settings

Powered by Google App Engine
This is Rietveld 408576698