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

Side by Side Diff: components/sync/engine_impl/js_sync_manager_observer_unittest.cc

Issue 2413313004: [Sync] Move the last things out of core/. (Closed)
Patch Set: Address comments. Created 4 years, 2 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 (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 "components/sync/core_impl/js_sync_manager_observer.h" 5 #include "components/sync/engine_impl/js_sync_manager_observer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "components/sync/base/model_type.h" 12 #include "components/sync/base/model_type.h"
13 #include "components/sync/core/connection_status.h" 13 #include "components/sync/engine/connection_status.h"
14 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" 14 #include "components/sync/engine/cycle/sync_cycle_snapshot.h"
15 #include "components/sync/engine/sync_string_conversions.h" 15 #include "components/sync/engine/sync_string_conversions.h"
16 #include "components/sync/js/js_event_details.h" 16 #include "components/sync/js/js_event_details.h"
17 #include "components/sync/js/js_test_util.h" 17 #include "components/sync/js/js_test_util.h"
18 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
19 19
20 namespace syncer { 20 namespace syncer {
21 namespace { 21 namespace {
22 22
23 using ::testing::InSequence; 23 using ::testing::InSequence;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 EXPECT_CALL(mock_js_event_handler_, 100 EXPECT_CALL(mock_js_event_handler_,
101 HandleJsEvent("onConnectionStatusChange", 101 HandleJsEvent("onConnectionStatusChange",
102 HasDetailsAsDictionary(expected_details))); 102 HasDetailsAsDictionary(expected_details)));
103 103
104 js_sync_manager_observer_.OnConnectionStatusChange(kStatus); 104 js_sync_manager_observer_.OnConnectionStatusChange(kStatus);
105 PumpLoop(); 105 PumpLoop();
106 } 106 }
107 107
108 } // namespace 108 } // namespace
109 } // namespace syncer 109 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/engine_impl/js_sync_manager_observer.cc ('k') | components/sync/engine_impl/model_type_connector_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698