summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/test_profile_sync_service.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 22:34:27 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 22:34:27 +0000
commitf9682409ab601aad49dc953ae7b41108af157175 (patch)
treec0404e5ee7a10c98df94ca6395860c34021b6c3e /chrome/browser/sync/test_profile_sync_service.h
parent5569c2d0bea4a8c73cf95ac2e44fab2ac91740de (diff)
downloadchromium_src-f9682409ab601aad49dc953ae7b41108af157175.zip
chromium_src-f9682409ab601aad49dc953ae7b41108af157175.tar.gz
chromium_src-f9682409ab601aad49dc953ae7b41108af157175.tar.bz2
[Sync] Simplify notifier code now that we have a single sync thread
Notifiers used to be created on the UI thread but used on the sync thread. This made the thread-verification code more complicated. Make notifiers be created and used on the sync thread only. Use const string refs instead of (dangerously) calling c_str(). BUG=79174 TEST= Review URL: http://codereview.chromium.org/7134103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/test_profile_sync_service.h')
-rw-r--r--chrome/browser/sync/test_profile_sync_service.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/sync/test_profile_sync_service.h b/chrome/browser/sync/test_profile_sync_service.h
index 780560c..d9bba61 100644
--- a/chrome/browser/sync/test_profile_sync_service.h
+++ b/chrome/browser/sync/test_profile_sync_service.h
@@ -55,7 +55,7 @@ class SyncBackendHostForProfileSyncTest
const tracked_objects::Location&);
virtual sync_api::HttpPostProviderFactory* MakeHttpBridgeFactory(
- net::URLRequestContextGetter* getter);
+ const scoped_refptr<net::URLRequestContextGetter>& getter);
virtual void InitCore(const Core::DoInitializeOptions& options);