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

Side by Side Diff: chrome/browser/ui/cocoa/cocoa_profile_test.h

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More IWYU, missing link-time dependency for Chrome Frame. Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_UI_COCOA_PROFILE_TEST_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_
6 #define CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_ 6 #define CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h"
10 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
11 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" 12 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
12 #include "chrome/test/base/testing_browser_process.h" 13 #include "chrome/test/base/testing_browser_process.h"
13 #include "chrome/test/base/testing_profile.h" 14 #include "chrome/test/base/testing_profile.h"
14 #include "chrome/test/base/testing_profile_manager.h" 15 #include "chrome/test/base/testing_profile_manager.h"
15 #include "content/test/test_browser_thread.h" 16 #include "content/test/test_browser_thread.h"
16 17
17 // Base class which contains a valid Browser*. Lots of boilerplate to 18 // Base class which contains a valid Browser*. Lots of boilerplate to
18 // recycle between unit test classes. 19 // recycle between unit test classes.
19 // 20 //
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 63
63 TestingProfileManager profile_manager_; 64 TestingProfileManager profile_manager_;
64 TestingProfile* profile_; // Weak; owned by profile_manager_. 65 TestingProfile* profile_; // Weak; owned by profile_manager_.
65 scoped_ptr<Browser> browser_; 66 scoped_ptr<Browser> browser_;
66 67
67 scoped_ptr<content::TestBrowserThread> file_thread_; 68 scoped_ptr<content::TestBrowserThread> file_thread_;
68 scoped_ptr<content::TestBrowserThread> io_thread_; 69 scoped_ptr<content::TestBrowserThread> io_thread_;
69 }; 70 };
70 71
71 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_ 72 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698