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

Side by Side Diff: components/sync/driver/glue/sync_backend_host_impl_unittest.cc

Issue 2258873003: [Sync] Move sessions/ to engine/cycle/ and rename things to match. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 years, 4 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "components/sync/driver/glue/sync_backend_host_impl.h" 5 #include "components/sync/driver/glue/sync_backend_host_impl.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <map> 10 #include <map>
(...skipping 17 matching lines...) Expand all
28 #include "components/sync/base/model_type.h" 28 #include "components/sync/base/model_type.h"
29 #include "components/sync/base/test_unrecoverable_error_handler.h" 29 #include "components/sync/base/test_unrecoverable_error_handler.h"
30 #include "components/sync/core/http_bridge_network_resources.h" 30 #include "components/sync/core/http_bridge_network_resources.h"
31 #include "components/sync/core/network_resources.h" 31 #include "components/sync/core/network_resources.h"
32 #include "components/sync/core/sync_manager_factory.h" 32 #include "components/sync/core/sync_manager_factory.h"
33 #include "components/sync/core/test/fake_sync_manager.h" 33 #include "components/sync/core/test/fake_sync_manager.h"
34 #include "components/sync/device_info/device_info.h" 34 #include "components/sync/device_info/device_info.h"
35 #include "components/sync/driver/fake_sync_client.h" 35 #include "components/sync/driver/fake_sync_client.h"
36 #include "components/sync/driver/sync_frontend.h" 36 #include "components/sync/driver/sync_frontend.h"
37 #include "components/sync/driver/sync_prefs.h" 37 #include "components/sync/driver/sync_prefs.h"
38 #include "components/sync/engine/cycle/commit_counters.h"
39 #include "components/sync/engine/cycle/status_counters.h"
40 #include "components/sync/engine/cycle/update_counters.h"
38 #include "components/sync/engine/model_safe_worker.h" 41 #include "components/sync/engine/model_safe_worker.h"
39 #include "components/sync/engine/passive_model_worker.h" 42 #include "components/sync/engine/passive_model_worker.h"
40 #include "components/sync/protocol/encryption.pb.h" 43 #include "components/sync/protocol/encryption.pb.h"
41 #include "components/sync/protocol/sync_protocol_error.h" 44 #include "components/sync/protocol/sync_protocol_error.h"
42 #include "components/sync/sessions/commit_counters.h"
43 #include "components/sync/sessions/status_counters.h"
44 #include "components/sync/sessions/update_counters.h"
45 #include "components/sync/test/callback_counter.h" 45 #include "components/sync/test/callback_counter.h"
46 #include "components/syncable_prefs/pref_service_syncable.h" 46 #include "components/syncable_prefs/pref_service_syncable.h"
47 #include "components/syncable_prefs/testing_pref_service_syncable.h" 47 #include "components/syncable_prefs/testing_pref_service_syncable.h"
48 #include "google/cacheinvalidation/include/types.h" 48 #include "google/cacheinvalidation/include/types.h"
49 #include "google_apis/gaia/gaia_constants.h" 49 #include "google_apis/gaia/gaia_constants.h"
50 #include "net/url_request/test_url_fetcher_factory.h" 50 #include "net/url_request/test_url_fetcher_factory.h"
51 #include "net/url_request/url_request_context_getter.h" 51 #include "net/url_request/url_request_context_getter.h"
52 #include "testing/gmock/include/gmock/gmock.h" 52 #include "testing/gmock/include/gmock/gmock.h"
53 #include "testing/gtest/include/gtest/gtest.h" 53 #include "testing/gtest/include/gtest/gtest.h"
54 #include "url/gurl.h" 54 #include "url/gurl.h"
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 backend_->StopSyncingForShutdown(); 861 backend_->StopSyncingForShutdown();
862 // Verify that call to DeactivateNonBlockingDataType doesn't assert. 862 // Verify that call to DeactivateNonBlockingDataType doesn't assert.
863 backend_->DeactivateNonBlockingDataType(syncer::AUTOFILL); 863 backend_->DeactivateNonBlockingDataType(syncer::AUTOFILL);
864 backend_->Shutdown(syncer::STOP_SYNC); 864 backend_->Shutdown(syncer::STOP_SYNC);
865 backend_.reset(); 865 backend_.reset();
866 } 866 }
867 867
868 } // namespace 868 } // namespace
869 869
870 } // namespace browser_sync 870 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/sync/driver/glue/sync_backend_host_impl.cc ('k') | components/sync/driver/glue/sync_backend_host_mock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698