summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_tabs_module_constants.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-20 08:21:19 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-20 08:21:19 +0000
commite9303b94084cd53410efd6a5e9ce78e960ac8ffe (patch)
tree606ba708d96bcaef0351ca2181eeebbd81fee11c /chrome/browser/extensions/extension_tabs_module_constants.cc
parent0c13b4a1a56078265821f10b5bb77a4ac2f891ce (diff)
downloadchromium_src-e9303b94084cd53410efd6a5e9ce78e960ac8ffe.zip
chromium_src-e9303b94084cd53410efd6a5e9ce78e960ac8ffe.tar.gz
chromium_src-e9303b94084cd53410efd6a5e9ce78e960ac8ffe.tar.bz2
Pull gallery special case down into Extension::CanAccessHost() to avoid duplicating it in multiple places.
Also rename that method to better reflect what it is used for. BUG=35382 Review URL: http://codereview.chromium.org/650086 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39550 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_tabs_module_constants.cc')
-rw-r--r--chrome/browser/extensions/extension_tabs_module_constants.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/extensions/extension_tabs_module_constants.cc b/chrome/browser/extensions/extension_tabs_module_constants.cc
index 4232a77..96176ea 100644
--- a/chrome/browser/extensions/extension_tabs_module_constants.cc
+++ b/chrome/browser/extensions/extension_tabs_module_constants.cc
@@ -45,10 +45,6 @@ const char kInvalidUrlError[] = "Invalid url: \"*\".";
const char kInternalVisibleTabCaptureError[] =
"Internal error while trying to capture visible region of the current tab";
const char kNotImplementedError[] = "This call is not yet implemented";
-const char kCannotAccessPageError[] = "Cannot access contents of url \"*\". "
- "Extension manifest must request permission to access this host.";
-const char kCannotScriptGalleryError[] = "The extensions gallery cannot be "
- "scripted.";
const char kSupportedInWindowsOnlyError[] = "Supported in Windows only";
const char kNoCodeOrFileToExecuteError[] = "No source code or file specified.";