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

Side by Side Diff: chrome/browser/search_engines/template_url_service_test_util.h

Issue 7744039: Switch ChromeTestSuite to the same convention as ContentTestSuite: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixing Created 9 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 | 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_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // Returns the TemplateURLService. 83 // Returns the TemplateURLService.
84 TemplateURLService* model() const; 84 TemplateURLService* model() const;
85 85
86 // Returns the TestingProfile. 86 // Returns the TestingProfile.
87 TestingProfile* profile() const; 87 TestingProfile* profile() const;
88 88
89 // Starts an I/O thread. 89 // Starts an I/O thread.
90 void StartIOThread(); 90 void StartIOThread();
91 91
92 private: 92 private:
93 ScopedTestingBrowserProcess browser_process_;
94
95 MessageLoopForUI message_loop_; 93 MessageLoopForUI message_loop_;
96 // Needed to make the DeleteOnUIThread trait of WebDataService work 94 // Needed to make the DeleteOnUIThread trait of WebDataService work
97 // properly. 95 // properly.
98 BrowserThread ui_thread_; 96 BrowserThread ui_thread_;
99 scoped_ptr<TemplateURLServiceTestingProfile> profile_; 97 scoped_ptr<TemplateURLServiceTestingProfile> profile_;
100 scoped_ptr<TestingTemplateURLService> model_; 98 scoped_ptr<TestingTemplateURLService> model_;
101 int changed_count_; 99 int changed_count_;
102 100
103 DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil); 101 DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil);
104 }; 102 };
105 103
106 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_ 104 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_SERVICE_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698