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

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

Issue 9562037: Move TestURLRequestContextGetter to url_request_test_util.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change comment 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
« no previous file with comments | « chrome/browser/sync/glue/http_bridge_unittest.cc ('k') | chrome/browser/sync/notifier/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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/internal_api/includes/test_unrecoverable_error_han dler.h" 12 #include "chrome/browser/sync/internal_api/includes/test_unrecoverable_error_han dler.h"
13 #include "chrome/browser/sync/protocol/encryption.pb.h" 13 #include "chrome/browser/sync/protocol/encryption.pb.h"
14 #include "chrome/browser/sync/protocol/sync_protocol_error.h" 14 #include "chrome/browser/sync/protocol/sync_protocol_error.h"
15 #include "chrome/browser/sync/sync_prefs.h" 15 #include "chrome/browser/sync/sync_prefs.h"
16 #include "chrome/browser/sync/syncable/model_type.h" 16 #include "chrome/browser/sync/syncable/model_type.h"
17 #include "chrome/test/base/test_url_request_context_getter.h"
18 #include "chrome/test/base/testing_profile.h" 17 #include "chrome/test/base/testing_profile.h"
19 #include "chrome/test/base/test_url_request_context_getter.h"
20 #include "content/test/test_browser_thread.h" 18 #include "content/test/test_browser_thread.h"
21 #include "content/test/test_url_fetcher_factory.h" 19 #include "content/test/test_url_fetcher_factory.h"
22 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
23 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
24 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
25 23
26 using content::BrowserThread; 24 using content::BrowserThread;
27 25
28 namespace browser_sync { 26 namespace browser_sync {
29 27
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 true, 106 true,
109 &handler, 107 &handler,
110 NULL); 108 NULL);
111 backend.StopSyncingForShutdown(); 109 backend.StopSyncingForShutdown();
112 backend.Shutdown(false); 110 backend.Shutdown(false);
113 } 111 }
114 112
115 // TODO(akalin): Write more SyncBackendHost unit tests. 113 // TODO(akalin): Write more SyncBackendHost unit tests.
116 114
117 } // namespace browser_sync 115 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/http_bridge_unittest.cc ('k') | chrome/browser/sync/notifier/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698