Index: chrome/browser/platform_apps/platform_app_service.cc |
diff --git a/chrome/browser/extensions/platform_app_service.cc b/chrome/browser/platform_apps/platform_app_service.cc |
similarity index 84% |
rename from chrome/browser/extensions/platform_app_service.cc |
rename to chrome/browser/platform_apps/platform_app_service.cc |
index 29c8aae37f195f9f8c93df1d41874a1b6e0f306b..2d852b1cc1ab7dddd3963109956917a6fc00b96a 100644 |
--- a/chrome/browser/extensions/platform_app_service.cc |
+++ b/chrome/browser/platform_apps/platform_app_service.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "chrome/browser/extensions/platform_app_service.h" |
+#include "chrome/browser/platform_apps/platform_app_service.h" |
#include "chrome/browser/extensions/extension_host.h" |
#include "chrome/common/chrome_notification_types.h" |
@@ -12,7 +12,7 @@ |
#include "content/public/browser/notification_service.h" |
#include "content/public/browser/notification_types.h" |
-namespace extensions { |
+namespace platform_apps { |
PlatformAppService::PlatformAppService(Profile* profile) { |
registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_HOST_CREATED, |
@@ -26,7 +26,8 @@ void PlatformAppService::Observe(int type, |
const content::NotificationDetails& details) { |
switch (type) { |
case chrome::NOTIFICATION_EXTENSION_HOST_CREATED: { |
- ExtensionHost* host = content::Details<ExtensionHost>(details).ptr(); |
+ extensions::ExtensionHost* host = |
+ content::Details<extensions::ExtensionHost>(details).ptr(); |
if (host->extension()->is_platform_app()) |
host->SetKeepsBrowserProcessAlive(); |
break; |
@@ -36,4 +37,4 @@ void PlatformAppService::Observe(int type, |
} |
} |
-} // namespace extensions |
+} // namespace platform_apps |