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

Side by Side Diff: chrome/browser/apps/app_browsertest_util.cc

Issue 584513003: Move extension_test_message_listener to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/browser/apps/app_crash_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/apps/app_browsertest_util.h" 5 #include "chrome/browser/apps/app_browsertest_util.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "chrome/browser/extensions/api/tabs/tabs_api.h" 9 #include "chrome/browser/extensions/api/tabs/tabs_api.h"
10 #include "chrome/browser/extensions/extension_function_test_utils.h" 10 #include "chrome/browser/extensions/extension_function_test_utils.h"
11 #include "chrome/browser/extensions/extension_test_message_listener.h"
12 #include "chrome/browser/ui/apps/chrome_app_delegate.h" 11 #include "chrome/browser/ui/apps/chrome_app_delegate.h"
13 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
14 #include "chrome/browser/ui/extensions/application_launch.h" 13 #include "chrome/browser/ui/extensions/application_launch.h"
15 #include "content/public/browser/notification_service.h" 14 #include "content/public/browser/notification_service.h"
16 #include "content/public/test/browser_test_utils.h" 15 #include "content/public/test/browser_test_utils.h"
17 #include "content/public/test/test_utils.h" 16 #include "content/public/test/test_utils.h"
18 #include "extensions/browser/app_window/app_window_contents.h" 17 #include "extensions/browser/app_window/app_window_contents.h"
19 #include "extensions/browser/app_window/app_window_registry.h" 18 #include "extensions/browser/app_window/app_window_registry.h"
20 #include "extensions/browser/app_window/native_app_window.h" 19 #include "extensions/browser/app_window/native_app_window.h"
21 #include "extensions/browser/process_manager.h" 20 #include "extensions/browser/process_manager.h"
22 #include "extensions/common/switches.h" 21 #include "extensions/common/switches.h"
22 #include "extensions/test/extension_test_message_listener.h"
23 23
24 using content::WebContents; 24 using content::WebContents;
25 25
26 namespace { 26 namespace {
27 27
28 const char kAppWindowTestApp[] = "app_window/generic"; 28 const char kAppWindowTestApp[] = "app_window/generic";
29 29
30 } // namespace 30 } // namespace
31 31
32 namespace utils = extension_function_test_utils; 32 namespace utils = extension_function_test_utils;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 return app_window; 249 return app_window;
250 } 250 }
251 251
252 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine( 252 void ExperimentalPlatformAppBrowserTest::SetUpCommandLine(
253 CommandLine* command_line) { 253 CommandLine* command_line) {
254 PlatformAppBrowserTest::SetUpCommandLine(command_line); 254 PlatformAppBrowserTest::SetUpCommandLine(command_line);
255 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis); 255 command_line->AppendSwitch(switches::kEnableExperimentalExtensionApis);
256 } 256 }
257 257
258 } // namespace extensions 258 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/apps/app_browsertest.cc ('k') | chrome/browser/apps/app_crash_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698