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

Unified Diff: chrome/browser/chromeos/extensions/file_browser_private_api.cc

Issue 12093036: Move Extension Location and Type enums to Manifest, and move InstallWarning to its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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/chromeos/extensions/file_browser_private_api.cc
diff --git a/chrome/browser/chromeos/extensions/file_browser_private_api.cc b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
index f2aadacc018a5e599c2e0fc0ff3d165070349eb4..6a0227f8fda615f2a11abd8bd5fb9e535a72acf4 100644
--- a/chrome/browser/chromeos/extensions/file_browser_private_api.cc
+++ b/chrome/browser/chromeos/extensions/file_browser_private_api.cc
@@ -536,7 +536,7 @@ class RequestLocalFileSystemFunction::LocalFileSystemCallbackDispatcher {
// Make sure that only component extension can access the entire
// local file system.
- if (extension_->location() != Extension::COMPONENT) {
+ if (extension_->location() != extensions::Manifest::COMPONENT) {
NOTREACHED() << "Private method access by non-component extension "
<< extension_->id();
return false;

Powered by Google App Engine
This is Rietveld 408576698