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

Side by Side Diff: chrome/test/browser_with_test_window_test.h

Issue 6627060: ImportantFileWriter: check return value of PostTask... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « chrome/common/important_file_writer.cc ('k') | chrome/test/browser_with_test_window_test.cc » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ 5 #ifndef CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_
6 #define CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ 6 #define CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/test/testing_browser_process_test.h" 10 #include "chrome/test/testing_browser_process_test.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const GURL& url); 85 const GURL& url);
86 86
87 // Navigates the current tab. This is a wrapper around NavigateAndCommit. 87 // Navigates the current tab. This is a wrapper around NavigateAndCommit.
88 void NavigateAndCommitActiveTab(const GURL& url); 88 void NavigateAndCommitActiveTab(const GURL& url);
89 89
90 private: 90 private:
91 91
92 // We need to create a MessageLoop, otherwise a bunch of things fails. 92 // We need to create a MessageLoop, otherwise a bunch of things fails.
93 MessageLoopForUI ui_loop_; 93 MessageLoopForUI ui_loop_;
94 BrowserThread ui_thread_; 94 BrowserThread ui_thread_;
95 BrowserThread file_thread_;
95 96
96 scoped_ptr<TestingProfile> profile_; 97 scoped_ptr<TestingProfile> profile_;
97 scoped_ptr<TestBrowserWindow> window_; 98 scoped_ptr<TestBrowserWindow> window_;
98 scoped_ptr<Browser> browser_; 99 scoped_ptr<Browser> browser_;
99 100
100 MockRenderProcessHostFactory rph_factory_; 101 MockRenderProcessHostFactory rph_factory_;
101 TestRenderViewHostFactory rvh_factory_; 102 TestRenderViewHostFactory rvh_factory_;
102 103
103 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); 104 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest);
104 }; 105 };
105 106
106 #endif // CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_ 107 #endif // CHROME_TEST_BROWSER_WITH_TEST_WINDOW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/common/important_file_writer.cc ('k') | chrome/test/browser_with_test_window_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698