Index: chrome/browser/extensions/platform_app_browsertest_util.cc |
diff --git a/chrome/browser/extensions/platform_app_browsertest_util.cc b/chrome/browser/extensions/platform_app_browsertest_util.cc |
index a2634c70855a2986b50257568699f299834f929b..e7151e3caaf8bd6055d3bd2feb6a3aac72346338 100644 |
--- a/chrome/browser/extensions/platform_app_browsertest_util.cc |
+++ b/chrome/browser/extensions/platform_app_browsertest_util.cc |
@@ -17,6 +17,7 @@ |
#include "chrome/common/chrome_switches.h" |
#include "content/public/browser/notification_service.h" |
#include "content/public/test/test_utils.h" |
+#include "extensions/common/switches.h" |
using apps::ShellWindow; |
using content::WebContents; |
@@ -34,8 +35,8 @@ void PlatformAppBrowserTest::SetUpCommandLine(CommandLine* command_line) { |
ExtensionBrowserTest::SetUpCommandLine(command_line); |
// Make event pages get suspended quicker. |
- command_line->AppendSwitchASCII(switches::kEventPageIdleTime, "1"); |
- command_line->AppendSwitchASCII(switches::kEventPageSuspendingTime, "1"); |
+ command_line->AppendSwitchASCII(::switches::kEventPageIdleTime, "1"); |
+ command_line->AppendSwitchASCII(::switches::kEventPageSuspendingTime, "1"); |
} |
const Extension* PlatformAppBrowserTest::LoadAndLaunchPlatformApp( |