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

Unified Diff: sync/internal_api/sync_core_proxy_impl_unittest.cc

Issue 272323002: sync: Implement disabling of non blocking types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: sync/internal_api/sync_core_proxy_impl_unittest.cc
diff --git a/sync/internal_api/sync_core_proxy_impl_unittest.cc b/sync/internal_api/sync_core_proxy_impl_unittest.cc
index 2e306ee28fdef43cb9c2acb9a361ddb59f9b6d2e..d1913b000d1cc89a2d33bca6ed01eb6837bfe809 100644
--- a/sync/internal_api/sync_core_proxy_impl_unittest.cc
+++ b/sync/internal_api/sync_core_proxy_impl_unittest.cc
@@ -31,9 +31,7 @@ class SyncCoreProxyImplTest : public ::testing::Test {
core_.reset();
}
- SyncCoreProxy* GetProxy() {
- return &core_proxy_;
- }
+ scoped_ptr<SyncCoreProxy> GetProxy() { return core_proxy_.Clone(); }
private:
base::MessageLoop loop_;

Powered by Google App Engine
This is Rietveld 408576698