summaryrefslogtreecommitdiffstats
path: root/chrome_frame/utils.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 20:27:42 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-13 20:27:42 +0000
commit885c0e94fd5e3d81bb258191d720b7b22ca683df (patch)
tree27022b02d52dda9e1cb8b86cde08c86220615f56 /chrome_frame/utils.cc
parentbf4d4efcd977d9f4438725d77e6bc9e02aac4b1c (diff)
downloadchromium_src-885c0e94fd5e3d81bb258191d720b7b22ca683df.zip
chromium_src-885c0e94fd5e3d81bb258191d720b7b22ca683df.tar.gz
chromium_src-885c0e94fd5e3d81bb258191d720b7b22ca683df.tar.bz2
Establish /extensions directory and move URLPattern there.
This doesn't create an extensions gyp target, or a module with a public API. It does set of DEPS rules and seems like it will make it easier for people to write correctly layered code today, while we are in transition. BUG=159265 TBR=ben@chromium.org Review URL: https://codereview.chromium.org/11410015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/utils.cc')
-rw-r--r--chrome_frame/utils.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome_frame/utils.cc b/chrome_frame/utils.cc
index 1450d46..a4814fea 100644
--- a/chrome_frame/utils.cc
+++ b/chrome_frame/utils.cc
@@ -37,6 +37,7 @@
#include "chrome_frame/policy_settings.h"
#include "chrome_frame/registry_list_preferences_holder.h"
#include "chrome_frame/simple_resource_loader.h"
+#include "extensions/common/constants.h"
#include "googleurl/src/gurl.h"
#include "googleurl/src/url_canon.h"
#include "grit/chromium_strings.h"
@@ -974,7 +975,7 @@ bool IsValidUrlScheme(const GURL& url, bool is_privileged) {
if (is_privileged &&
(url.SchemeIs(chrome::kDataScheme) ||
- url.SchemeIs(chrome::kExtensionScheme)))
+ url.SchemeIs(extensions::kExtensionScheme)))
return true;
return false;