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

Side by Side Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Created 8 years, 9 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 | Annotate | Revision Log
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 24 matching lines...) Expand all
35 #include "content/public/browser/web_contents.h" 35 #include "content/public/browser/web_contents.h"
36 #include "content/public/browser/worker_service.h" 36 #include "content/public/browser/worker_service.h"
37 #include "content/public/browser/worker_service_observer.h" 37 #include "content/public/browser/worker_service_observer.h"
38 #include "net/test/test_server.h" 38 #include "net/test/test_server.h"
39 39
40 using content::BrowserThread; 40 using content::BrowserThread;
41 using content::DevToolsManager; 41 using content::DevToolsManager;
42 using content::DevToolsAgentHost; 42 using content::DevToolsAgentHost;
43 using content::DevToolsAgentHostRegistry; 43 using content::DevToolsAgentHostRegistry;
44 using content::NavigationController; 44 using content::NavigationController;
45 using content::RenderViewHost;
45 using content::WebContents; 46 using content::WebContents;
46 using content::WorkerService; 47 using content::WorkerService;
47 using content::WorkerServiceObserver; 48 using content::WorkerServiceObserver;
48 49
49 namespace { 50 namespace {
50 51
51 // Used to block until a dev tools client window's browser is closed. 52 // Used to block until a dev tools client window's browser is closed.
52 class BrowserClosedObserver : public content::NotificationObserver { 53 class BrowserClosedObserver : public content::NotificationObserver {
53 public: 54 public:
54 explicit BrowserClosedObserver(Browser* browser) { 55 explicit BrowserClosedObserver(Browser* browser) {
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 578
578 // Reload page to restart the worker. 579 // Reload page to restart the worker.
579 ui_test_utils::NavigateToURL(browser(), url); 580 ui_test_utils::NavigateToURL(browser(), url);
580 581
581 // Wait until worker script is paused on the debugger statement. 582 // Wait until worker script is paused on the debugger statement.
582 RunTestFunction(window_, "testPauseInSharedWorkerInitialization"); 583 RunTestFunction(window_, "testPauseInSharedWorkerInitialization");
583 CloseDevToolsWindow(); 584 CloseDevToolsWindow();
584 } 585 }
585 586
586 } // namespace 587 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/tab_specific_content_settings.cc ('k') | chrome/browser/debugger/devtools_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698