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

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

Issue 9419033: Move creation of BrowserContext objects that live in content to content, instead of depending on th… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Fix memory leaks in tests Created 8 years, 10 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) 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 "base/message_loop.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 void CloseBrowserWindow(); 58 void CloseBrowserWindow();
59 59
60 private: 60 private:
61 MessageLoopForUI message_loop_; 61 MessageLoopForUI message_loop_;
62 content::TestBrowserThread ui_thread_; 62 content::TestBrowserThread ui_thread_;
63 63
64 TestingProfileManager profile_manager_; 64 TestingProfileManager profile_manager_;
65 TestingProfile* profile_; // Weak; owned by profile_manager_. 65 TestingProfile* profile_; // Weak; owned by profile_manager_.
66 scoped_ptr<Browser> browser_; 66 scoped_ptr<Browser> browser_;
67 67
68 scoped_ptr<content::TestBrowserThread> file_user_blocking_thread_;
68 scoped_ptr<content::TestBrowserThread> file_thread_; 69 scoped_ptr<content::TestBrowserThread> file_thread_;
69 scoped_ptr<content::TestBrowserThread> io_thread_; 70 scoped_ptr<content::TestBrowserThread> io_thread_;
70 }; 71 };
71 72
72 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_ 73 #endif // CHROME_BROWSER_UI_COCOA_PROFILE_TEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_test_util.cc ('k') | chrome/browser/ui/cocoa/cocoa_profile_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698