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

Unified Diff: chrome/browser/extensions/platform_app_launcher.cc

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 5 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
« no previous file with comments | « chrome/browser/extensions/message_service.h ('k') | chrome/browser/file_select_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/platform_app_launcher.cc
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc
index dd6a49bae7f47cfa4b0336d7a56811c1501b2b15..d50fdec8231ecedc3d46aeb1d5895ae79b4ab376 100644
--- a/chrome/browser/extensions/platform_app_launcher.cc
+++ b/chrome/browser/extensions/platform_app_launcher.cc
@@ -172,7 +172,7 @@ class PlatformAppCommandLineLauncher
ExtensionProcessManager* process_manager =
ExtensionSystem::Get(profile_)->process_manager();
- ExtensionHost* host =
+ extensions::ExtensionHost* host =
process_manager->GetBackgroundHostForExtension(extension_->id());
DCHECK(host);
GrantAccessToFileAndLaunch(file_path, mime_type, host);
@@ -180,7 +180,7 @@ class PlatformAppCommandLineLauncher
void GrantAccessToFileAndLaunch(const FilePath& file_path,
const std::string& mime_type,
- ExtensionHost* host) {
+ extensions::ExtensionHost* host) {
// If there was an error loading the app page, |host| will be NULL.
if (!host) {
LOG(ERROR) << "Could not load app page for " << extension_->id();
@@ -260,7 +260,7 @@ class PlatformAppBlobIntentLauncher
ExtensionProcessManager* process_manager =
ExtensionSystem::Get(profile_)->process_manager();
- ExtensionHost* host =
+ extensions::ExtensionHost* host =
process_manager->GetBackgroundHostForExtension(extension_->id());
DCHECK(host);
GrantAccessToFileAndLaunch(host);
@@ -271,7 +271,7 @@ class PlatformAppBlobIntentLauncher
virtual ~PlatformAppBlobIntentLauncher() {}
- void GrantAccessToFileAndLaunch(ExtensionHost* host) {
+ void GrantAccessToFileAndLaunch(extensions::ExtensionHost* host) {
// If there was an error loading the app page, |host| will be NULL.
if (!host) {
LOG(ERROR) << "Could not load app page for " << extension_->id();
« no previous file with comments | « chrome/browser/extensions/message_service.h ('k') | chrome/browser/file_select_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698