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

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

Issue 9699057: [Sync] Move 'sync' target to sync/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address Tim's comments 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/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"
12 #include "chrome/browser/sync/internal_api/includes/test_unrecoverable_error_han dler.h"
13 #include "chrome/browser/sync/protocol/sync_protocol_error.h"
14 #include "chrome/browser/sync/sync_prefs.h" 11 #include "chrome/browser/sync/sync_prefs.h"
15 #include "chrome/browser/sync/syncable/model_type.h"
16 #include "chrome/test/base/testing_profile.h" 12 #include "chrome/test/base/testing_profile.h"
17 #include "content/test/test_browser_thread.h" 13 #include "content/test/test_browser_thread.h"
18 #include "content/test/test_url_fetcher_factory.h" 14 #include "content/test/test_url_fetcher_factory.h"
19 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
16 #include "sync/engine/model_safe_worker.h"
20 #include "sync/protocol/encryption.pb.h" 17 #include "sync/protocol/encryption.pb.h"
18 #include "sync/protocol/sync_protocol_error.h"
19 #include "sync/syncable/model_type.h"
20 #include "sync/util/test_unrecoverable_error_handler.h"
21 #include "testing/gmock/include/gmock/gmock.h" 21 #include "testing/gmock/include/gmock/gmock.h"
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 23
24 using content::BrowserThread; 24 using content::BrowserThread;
25 25
26 namespace browser_sync { 26 namespace browser_sync {
27 27
28 namespace { 28 namespace {
29 29
30 class MockSyncFrontend : public SyncFrontend { 30 class MockSyncFrontend : public SyncFrontend {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 true, 107 true,
108 &handler, 108 &handler,
109 NULL); 109 NULL);
110 backend.StopSyncingForShutdown(); 110 backend.StopSyncingForShutdown();
111 backend.Shutdown(false); 111 backend.Shutdown(false);
112 } 112 }
113 113
114 // TODO(akalin): Write more SyncBackendHost unit tests. 114 // TODO(akalin): Write more SyncBackendHost unit tests.
115 115
116 } // namespace browser_sync 116 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | chrome/browser/sync/glue/sync_backend_registrar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698