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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_unittest.cc

Issue 8403017: Rename URLFetcher to be URLFetcherImpl, now that we have the content::URLFetcher interface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 #include "chrome/browser/sync/glue/sync_backend_host.h" 5 #include "chrome/browser/sync/glue/sync_backend_host.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "chrome/browser/sync/engine/model_safe_worker.h" 11 #include "chrome/browser/sync/engine/model_safe_worker.h"
12 #include "chrome/browser/sync/protocol/sync_protocol_error.h" 12 #include "chrome/browser/sync/protocol/sync_protocol_error.h"
13 #include "chrome/browser/sync/sync_prefs.h" 13 #include "chrome/browser/sync/sync_prefs.h"
14 #include "chrome/browser/sync/syncable/model_type.h" 14 #include "chrome/browser/sync/syncable/model_type.h"
15 #include "chrome/test/base/testing_profile.h" 15 #include "chrome/test/base/testing_profile.h"
16 #include "chrome/test/base/test_url_request_context_getter.h" 16 #include "chrome/test/base/test_url_request_context_getter.h"
17 #include "content/browser/browser_thread.h" 17 #include "content/browser/browser_thread.h"
18 #include "content/common/net/url_fetcher.h"
19 #include "content/test/test_url_fetcher_factory.h" 18 #include "content/test/test_url_fetcher_factory.h"
20 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
21 #include "testing/gmock/include/gmock/gmock.h" 20 #include "testing/gmock/include/gmock/gmock.h"
22 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
23 22
24 namespace browser_sync { 23 namespace browser_sync {
25 24
26 namespace { 25 namespace {
27 26
28 class MockSyncFrontend : public SyncFrontend { 27 class MockSyncFrontend : public SyncFrontend {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 syncable::ModelTypeSet(), 99 syncable::ModelTypeSet(),
101 credentials, 100 credentials,
102 true); 101 true);
103 backend.StopSyncingForShutdown(); 102 backend.StopSyncingForShutdown();
104 backend.Shutdown(false); 103 backend.Shutdown(false);
105 } 104 }
106 105
107 // TODO(akalin): Write more SyncBackendHost unit tests. 106 // TODO(akalin): Write more SyncBackendHost unit tests.
108 107
109 } // namespace browser_sync 108 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_test.cc ('k') | chrome/browser/sync/test/integration/sync_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698