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

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

Issue 9749012: [Sync] Have SyncableService's take ownership of their SyncChangeProcessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/search_engines/template_url_service_test_util.h" 5 #include "chrome/browser/search_engines/template_url_service_test_util.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 return TemplateURLServiceFactory::GetForProfile(profile()); 230 return TemplateURLServiceFactory::GetForProfile(profile());
231 } 231 }
232 232
233 TestingProfile* TemplateURLServiceTestUtil::profile() const { 233 TestingProfile* TemplateURLServiceTestUtil::profile() const {
234 return profile_.get(); 234 return profile_.get();
235 } 235 }
236 236
237 void TemplateURLServiceTestUtil::StartIOThread() { 237 void TemplateURLServiceTestUtil::StartIOThread() {
238 profile_->StartIOThread(); 238 profile_->StartIOThread();
239 } 239 }
240
241 void TemplateURLServiceTestUtil::PumpLoop() {
242 message_loop_.RunAllPending();
243 }
OLDNEW
« no previous file with comments | « chrome/browser/search_engines/template_url_service_test_util.h ('k') | chrome/browser/sync/api/fake_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698