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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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/sandboxed_extension_unpacker.h
diff --git a/chrome/browser/extensions/sandboxed_extension_unpacker.h b/chrome/browser/extensions/sandboxed_extension_unpacker.h
index 696c4cd92b025db2dd6c410794078099da3c993c..d28b8ed47886e5ef8246440961ac4a0a1b666970 100644
--- a/chrome/browser/extensions/sandboxed_extension_unpacker.h
+++ b/chrome/browser/extensions/sandboxed_extension_unpacker.h
@@ -15,8 +15,6 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/utility_process_host_client.h"
-class Extension;
-
namespace base {
class DictionaryValue;
}
@@ -37,7 +35,7 @@ class SandboxedExtensionUnpackerClient
virtual void OnUnpackSuccess(const FilePath& temp_dir,
const FilePath& extension_root,
const base::DictionaryValue* original_manifest,
- const Extension* extension) = 0;
+ const extensions::Extension* extension) = 0;
virtual void OnUnpackFailure(const string16& error) = 0;
protected:
@@ -102,7 +100,7 @@ class SandboxedExtensionUnpacker : public content::UtilityProcessHostClient {
// is done in a sandboxed subprocess. Otherwise, it is done in-process.
SandboxedExtensionUnpacker(const FilePath& crx_path,
bool run_out_of_process,
- Extension::Location location,
+ extensions::Extension::Location location,
int creation_flags,
SandboxedExtensionUnpackerClient* client);
@@ -233,7 +231,7 @@ class SandboxedExtensionUnpacker : public content::UtilityProcessHostClient {
FilePath extension_root_;
// Represents the extension we're unpacking.
- scoped_refptr<Extension> extension_;
+ scoped_refptr<extensions::Extension> extension_;
// Whether we've received a response from the utility process yet.
bool got_response_;
@@ -249,7 +247,7 @@ class SandboxedExtensionUnpacker : public content::UtilityProcessHostClient {
base::TimeTicks unpack_start_time_;
// Location to use for the unpacked extension.
- Extension::Location location_;
+ extensions::Extension::Location location_;
// Creation flags to use for the extension. These flags will be used
// when calling Extenion::Create() by the crx installer.
« no previous file with comments | « chrome/browser/extensions/process_management_browsertest.cc ('k') | chrome/browser/extensions/sandboxed_extension_unpacker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698