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

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

Issue 10824204: Move small c/b/extensions classes into extensions namespace no.2 (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq + nitfix Created 8 years, 4 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/platform_app_browsertest_util.h
diff --git a/chrome/browser/extensions/platform_app_browsertest_util.h b/chrome/browser/extensions/platform_app_browsertest_util.h
index 628fca64d0b5761966ce364cf97174228af30d66..7aa8d3262f60b8ca881e0e4865fa0ee9464c1381 100644
--- a/chrome/browser/extensions/platform_app_browsertest_util.h
+++ b/chrome/browser/extensions/platform_app_browsertest_util.h
@@ -8,9 +8,6 @@
#include "chrome/browser/extensions/extension_apitest.h"
-namespace extensions {
-class Extension;
-}
namespace content {
class WebContents;
@@ -19,6 +16,9 @@ class WebContents;
class CommandLine;
class ShellWindow;
+namespace extensions {
+class Extension;
+
class PlatformAppBrowserTest : public ExtensionApiTest {
public:
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE;
@@ -26,7 +26,7 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
protected:
// Runs the app named |name| out of the platform_apps subdirectory. Waits
// until it is launched.
- const extensions::Extension* LoadAndLaunchPlatformApp(const char* name);
+ const Extension* LoadAndLaunchPlatformApp(const char* name);
// Gets the WebContents associated with the first shell window that is found
// (most tests only deal with one platform app window, so this is good
@@ -35,13 +35,12 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
// Runs chrome.windows.getAll for the given extension and returns the number
// of windows that the function returns.
- size_t RunGetWindowsFunctionForExtension(
- const extensions::Extension* extension);
+ size_t RunGetWindowsFunctionForExtension(const Extension* extension);
// Runs chrome.windows.get(|window_id|) for the the given extension and
// returns whether or not a window was found.
- bool RunGetWindowFunctionForExtension(
- int window_id, const extensions::Extension* extension);
+ bool RunGetWindowFunctionForExtension(int window_id,
+ const Extension* extension);
// Returns the number of shell windows.
size_t GetShellWindowCount();
@@ -55,10 +54,12 @@ class PlatformAppBrowserTest : public ExtensionApiTest {
void SetCommandLineArg(const std::string& test_file);
// Creates an empty shell window for |extension|.
- ShellWindow* CreateShellWindow(const extensions::Extension* extension);
+ ShellWindow* CreateShellWindow(const Extension* extension);
// Closes |window| and waits until it's gone.
void CloseShellWindow(ShellWindow* window);
};
+}
+
#endif // CHROME_BROWSER_EXTENSIONS_PLATFORM_APP_BROWSERTEST_UTIL_H_
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest.cc ('k') | chrome/browser/extensions/platform_app_browsertest_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698