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

Side by Side Diff: chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc

Issue 11630004: DevTools: rename debugger/ to devtools/, move DevTools files into content/renderer/devtools. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: For landing Created 8 years 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/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/debugger/devtools_window.h" 6 #include "chrome/browser/devtools/devtools_window.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_commands.h" 8 #include "chrome/browser/ui/browser_commands.h"
9 #include "chrome/browser/ui/browser_tabstrip.h" 9 #include "chrome/browser/ui/browser_tabstrip.h"
10 #include "chrome/browser/ui/singleton_tabs.h" 10 #include "chrome/browser/ui/singleton_tabs.h"
11 #include "chrome/common/chrome_switches.h" 11 #include "chrome/common/chrome_switches.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "chrome/test/base/in_process_browser_test.h" 13 #include "chrome/test/base/in_process_browser_test.h"
14 #include "chrome/test/base/ui_test_utils.h" 14 #include "chrome/test/base/ui_test_utils.h"
15 #include "content/public/browser/render_process_host.h" 15 #include "content/public/browser/render_process_host.h"
16 #include "content/public/browser/render_view_host.h" 16 #include "content/public/browser/render_view_host.h"
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 RenderViewHost* devtools = FindFirstDevToolsHost(); 335 RenderViewHost* devtools = FindFirstDevToolsHost();
336 DCHECK(devtools); 336 DCHECK(devtools);
337 337
338 // DevTools start in a separate process. 338 // DevTools start in a separate process.
339 DevToolsWindow::ToggleDevToolsWindow( 339 DevToolsWindow::ToggleDevToolsWindow(
340 devtools, true, DEVTOOLS_TOGGLE_ACTION_INSPECT); 340 devtools, true, DEVTOOLS_TOGGLE_ACTION_INSPECT);
341 host_count++; 341 host_count++;
342 EXPECT_EQ(tab_count, browser()->tab_count()); 342 EXPECT_EQ(tab_count, browser()->tab_count());
343 EXPECT_EQ(host_count, RenderProcessHostCount()); 343 EXPECT_EQ(host_count, RenderProcessHostCount());
344 } 344 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698