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

Side by Side Diff: chrome/browser/devtools/devtools_sanity_browsertest.cc

Issue 688853005: Consolidate javascript_dialog_manager.h and javascript_dialog_manager_impl.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: namespace Created 6 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/bind.h" 5 #include "base/bind.h"
6 #include "base/cancelable_callback.h" 6 #include "base/cancelable_callback.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "content/public/browser/worker_service.h" 44 #include "content/public/browser/worker_service.h"
45 #include "content/public/browser/worker_service_observer.h" 45 #include "content/public/browser/worker_service_observer.h"
46 #include "content/public/common/content_switches.h" 46 #include "content/public/common/content_switches.h"
47 #include "content/public/test/browser_test_utils.h" 47 #include "content/public/test/browser_test_utils.h"
48 #include "extensions/browser/extension_system.h" 48 #include "extensions/browser/extension_system.h"
49 #include "extensions/browser/notification_types.h" 49 #include "extensions/browser/notification_types.h"
50 #include "extensions/common/switches.h" 50 #include "extensions/common/switches.h"
51 #include "net/socket/tcp_listen_socket.h" 51 #include "net/socket/tcp_listen_socket.h"
52 #include "net/test/spawned_test_server/spawned_test_server.h" 52 #include "net/test/spawned_test_server/spawned_test_server.h"
53 53
54 using app_modal_dialogs::AppModalDialog;
55 using app_modal_dialogs::JavaScriptAppModalDialog;
56 using app_modal_dialogs::NativeAppModalDialog;
54 using content::BrowserThread; 57 using content::BrowserThread;
55 using content::DevToolsAgentHost; 58 using content::DevToolsAgentHost;
56 using content::NavigationController; 59 using content::NavigationController;
57 using content::RenderViewHost; 60 using content::RenderViewHost;
58 using content::WebContents; 61 using content::WebContents;
59 using content::WorkerService; 62 using content::WorkerService;
60 using content::WorkerServiceObserver; 63 using content::WorkerServiceObserver;
61 64
62 namespace { 65 namespace {
63 66
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 933
931 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { 934 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) {
932 #if defined(OS_WIN) && defined(USE_ASH) 935 #if defined(OS_WIN) && defined(USE_ASH)
933 // Disable this test in Metro+Ash for now (http://crbug.com/262796). 936 // Disable this test in Metro+Ash for now (http://crbug.com/262796).
934 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests)) 937 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kAshBrowserTests))
935 return; 938 return;
936 #endif 939 #endif
937 940
938 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; 941 ASSERT_TRUE(RunExtensionTest("target_list")) << message_;
939 } 942 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698