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

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

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 "chrome/test/base/in_process_browser_test.h" 5 #include "chrome/test/base/in_process_browser_test.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
(...skipping 17 matching lines...) Expand all
28 #include "chrome/common/chrome_switches.h" 28 #include "chrome/common/chrome_switches.h"
29 #include "chrome/common/logging_chrome.h" 29 #include "chrome/common/logging_chrome.h"
30 #include "chrome/common/url_constants.h" 30 #include "chrome/common/url_constants.h"
31 #include "chrome/test/base/chrome_test_suite.h" 31 #include "chrome/test/base/chrome_test_suite.h"
32 #include "chrome/test/base/test_launcher_utils.h" 32 #include "chrome/test/base/test_launcher_utils.h"
33 #include "chrome/test/base/testing_browser_process.h" 33 #include "chrome/test/base/testing_browser_process.h"
34 #include "chrome/test/base/ui_test_utils.h" 34 #include "chrome/test/base/ui_test_utils.h"
35 #include "content/public/browser/notification_service.h" 35 #include "content/public/browser/notification_service.h"
36 #include "content/public/browser/notification_types.h" 36 #include "content/public/browser/notification_types.h"
37 #include "content/public/browser/render_process_host.h" 37 #include "content/public/browser/render_process_host.h"
38 #include "content/public/test/test_browser_thread.h"
38 #include "content/renderer/mock_content_renderer_client.h" 39 #include "content/renderer/mock_content_renderer_client.h"
39 #include "content/test/test_browser_thread.h"
40 #include "content/test/test_launcher.h" 40 #include "content/test/test_launcher.h"
41 #include "net/base/mock_host_resolver.h" 41 #include "net/base/mock_host_resolver.h"
42 #include "net/test/test_server.h" 42 #include "net/test/test_server.h"
43 #include "ui/compositor/compositor_switches.h" 43 #include "ui/compositor/compositor_switches.h"
44 44
45 #if defined(OS_CHROMEOS) 45 #if defined(OS_CHROMEOS)
46 #include "chrome/browser/chromeos/audio/audio_handler.h" 46 #include "chrome/browser/chromeos/audio/audio_handler.h"
47 #elif defined(OS_MACOSX) 47 #elif defined(OS_MACOSX)
48 #include "base/mac/scoped_nsautorelease_pool.h" 48 #include "base/mac/scoped_nsautorelease_pool.h"
49 #endif 49 #endif
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // On the Mac, this eventually reaches 396 // On the Mac, this eventually reaches
397 // -[BrowserWindowController windowWillClose:], which will post a deferred 397 // -[BrowserWindowController windowWillClose:], which will post a deferred
398 // -autorelease on itself to ultimately destroy the Browser object. The line 398 // -autorelease on itself to ultimately destroy the Browser object. The line
399 // below is necessary to pump these pending messages to ensure all Browsers 399 // below is necessary to pump these pending messages to ensure all Browsers
400 // get deleted. 400 // get deleted.
401 ui_test_utils::RunAllPendingInMessageLoop(); 401 ui_test_utils::RunAllPendingInMessageLoop();
402 delete autorelease_pool_; 402 delete autorelease_pool_;
403 autorelease_pool_ = NULL; 403 autorelease_pool_ = NULL;
404 #endif 404 #endif
405 } 405 }
OLDNEW
« no previous file with comments | « chrome/test/base/browser_with_test_window_test.h ('k') | chrome/test/base/view_event_test_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698