Index: extensions/browser/app_window/app_web_contents_helper.h |
diff --git a/apps/app_web_contents_helper.h b/extensions/browser/app_window/app_web_contents_helper.h |
similarity index 88% |
rename from apps/app_web_contents_helper.h |
rename to extensions/browser/app_window/app_web_contents_helper.h |
index 01f349b4f31fb6d400f8c8dca9416a092dd19e33..3d17851b451319f935e4775345a7b15381ee248f 100644 |
--- a/apps/app_web_contents_helper.h |
+++ b/extensions/browser/app_window/app_web_contents_helper.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef APPS_APP_WEB_CONTENTS_HELPER_H_ |
-#define APPS_APP_WEB_CONTENTS_HELPER_H_ |
+#ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WEB_CONTENTS_HELPER_H_ |
+#define EXTENSIONS_BROWSER_APP_WINDOW_APP_WEB_CONTENTS_HELPER_H_ |
#include "content/public/common/console_message_level.h" |
#include "content/public/common/media_stream_request.h" |
@@ -19,12 +19,9 @@ class WebContents; |
} |
namespace extensions { |
-class Extension; |
-} |
- |
-namespace apps { |
class AppDelegate; |
+class Extension; |
// Provides common functionality for apps and launcher pages to respond to |
// messages from a WebContents. |
@@ -52,7 +49,7 @@ class AppWebContentsHelper { |
const content::MediaResponseCallback& callback) const; |
private: |
- const extensions::Extension* GetExtension() const; |
+ const Extension* GetExtension() const; |
// Helper method to add a message to the renderer's DevTools console. |
void AddMessageToDevToolsConsole(content::ConsoleMessageLevel level, |
@@ -71,6 +68,6 @@ class AppWebContentsHelper { |
DISALLOW_COPY_AND_ASSIGN(AppWebContentsHelper); |
}; |
-} // namespace apps |
+} // namespace extensions |
-#endif // APPS_APP_WEB_CONTENTS_HELPER_H_ |
+#endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WEB_CONTENTS_HELPER_H_ |