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

Side by Side Diff: chrome/test/in_process_browser_test.cc

Issue 159542: Add a WebKit API that registers a V8 extension to be loaded into content (Closed)
Patch Set: final Created 11 years, 4 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/renderer/user_script_slave.cc ('k') | webkit/api/public/WebKit.h » ('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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/test/in_process_browser_test.h" 5 #include "chrome/test/in_process_browser_test.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "chrome/browser/browser.h" 11 #include "chrome/browser/browser.h"
12 #include "chrome/browser/browser_list.h" 12 #include "chrome/browser/browser_list.h"
13 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/browser_shutdown.h" 14 #include "chrome/browser/browser_shutdown.h"
15 #include "chrome/browser/browser_window.h" 15 #include "chrome/browser/browser_window.h"
16 #include "chrome/browser/profile.h" 16 #include "chrome/browser/profile.h"
17 #include "chrome/browser/profile_manager.h" 17 #include "chrome/browser/profile_manager.h"
18 #include "chrome/browser/renderer_host/render_process_host.h" 18 #include "chrome/browser/renderer_host/render_process_host.h"
19 #include "chrome/browser/tab_contents/tab_contents.h" 19 #include "chrome/browser/tab_contents/tab_contents.h"
20 #if defined(OS_WIN) 20 #if defined(OS_WIN)
21 #include "chrome/browser/views/frame/browser_view.h" 21 #include "chrome/browser/views/frame/browser_view.h"
22 #endif 22 #endif
23 #include "chrome/common/chrome_constants.h" 23 #include "chrome/common/chrome_constants.h"
24 #include "chrome/common/chrome_paths.h" 24 #include "chrome/common/chrome_paths.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
26 #include "chrome/common/main_function_params.h" 26 #include "chrome/common/main_function_params.h"
27 #include "chrome/common/notification_registrar.h"
28 #include "chrome/common/notification_type.h"
27 #include "chrome/test/testing_browser_process.h" 29 #include "chrome/test/testing_browser_process.h"
28 #include "chrome/test/ui_test_utils.h" 30 #include "chrome/test/ui_test_utils.h"
29 #include "net/base/mock_host_resolver.h" 31 #include "net/base/mock_host_resolver.h"
30 #include "sandbox/src/dep.h" 32 #include "sandbox/src/dep.h"
31 33
32 extern int BrowserMain(const MainFunctionParams&); 34 extern int BrowserMain(const MainFunctionParams&);
33 35
34 const wchar_t kUnitTestShowWindows[] = L"show-windows"; 36 const wchar_t kUnitTestShowWindows[] = L"show-windows";
35 37
36 // Default delay for the time-out at which we stop the 38 // Default delay for the time-out at which we stop the
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 NewRunnableMethod(this, &InProcessBrowserTest::TimedOut), 266 NewRunnableMethod(this, &InProcessBrowserTest::TimedOut),
265 kSubsequentTimeoutInMS); 267 kSubsequentTimeoutInMS);
266 268
267 MessageLoopForUI::current()->Quit(); 269 MessageLoopForUI::current()->Quit();
268 } 270 }
269 271
270 void InProcessBrowserTest::SetInitialTimeoutInMS(int timeout_value) { 272 void InProcessBrowserTest::SetInitialTimeoutInMS(int timeout_value) {
271 DCHECK_GT(timeout_value, 0); 273 DCHECK_GT(timeout_value, 0);
272 initial_timeout_ = timeout_value; 274 initial_timeout_ = timeout_value;
273 } 275 }
OLDNEW
« no previous file with comments | « chrome/renderer/user_script_slave.cc ('k') | webkit/api/public/WebKit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698