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

Unified Diff: chrome/browser/search_engines/template_url_service_test_util.h

Issue 12871006: Second try at splitting WebDataService (minus ownership changes) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head for commit. Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/template_url_service_test_util.h
diff --git a/chrome/browser/search_engines/template_url_service_test_util.h b/chrome/browser/search_engines/template_url_service_test_util.h
index ae4fe36127751714ba552e7da2d2413f850a789d..80c3fe37657b7f33a3249de5393f62a19e95c591 100644
--- a/chrome/browser/search_engines/template_url_service_test_util.h
+++ b/chrome/browser/search_engines/template_url_service_test_util.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/files/scoped_temp_dir.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
@@ -18,7 +19,7 @@
class GURL;
class TemplateURLService;
-class TemplateURLServiceTestingProfile;
+class TestingProfile;
class TestingTemplateURLService;
class TestingProfile;
class WebDataService;
@@ -112,8 +113,11 @@ class TemplateURLServiceTestUtil : public TemplateURLServiceObserver {
// Needed to make the DeleteOnUIThread trait of WebDataService work
// properly.
content::TestBrowserThread ui_thread_;
- scoped_ptr<TemplateURLServiceTestingProfile> profile_;
+ content::TestBrowserThread db_thread_;
+ content::TestBrowserThread io_thread_;
+ scoped_ptr<TestingProfile> profile_;
int changed_count_;
+ base::ScopedTempDir temp_dir_;
DISALLOW_COPY_AND_ASSIGN(TemplateURLServiceTestUtil);
};

Powered by Google App Engine
This is Rietveld 408576698