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

Side by Side Diff: sync/internal_api/js_sync_manager_observer_unittest.cc

Issue 1545553003: Switch to standard integer types in sync/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « sync/internal_api/js_sync_manager_observer.h ('k') | sync/internal_api/model_type_entity.cc » ('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 "sync/internal_api/js_sync_manager_observer.h" 5 #include "sync/internal_api/js_sync_manager_observer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h"
10 #include "base/location.h" 9 #include "base/location.h"
11 #include "base/run_loop.h" 10 #include "base/run_loop.h"
12 #include "base/values.h" 11 #include "base/values.h"
13 #include "sync/internal_api/public/base/model_type.h" 12 #include "sync/internal_api/public/base/model_type.h"
14 #include "sync/internal_api/public/connection_status.h" 13 #include "sync/internal_api/public/connection_status.h"
15 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
16 #include "sync/internal_api/public/util/sync_string_conversions.h" 15 #include "sync/internal_api/public/util/sync_string_conversions.h"
17 #include "sync/internal_api/public/util/weak_handle.h" 16 #include "sync/internal_api/public/util/weak_handle.h"
18 #include "sync/js/js_event_details.h" 17 #include "sync/js/js_event_details.h"
19 #include "sync/js/js_test_util.h" 18 #include "sync/js/js_test_util.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 EXPECT_CALL(mock_js_event_handler_, 116 EXPECT_CALL(mock_js_event_handler_,
118 HandleJsEvent("onConnectionStatusChange", 117 HandleJsEvent("onConnectionStatusChange",
119 HasDetailsAsDictionary(expected_details))); 118 HasDetailsAsDictionary(expected_details)));
120 119
121 js_sync_manager_observer_.OnConnectionStatusChange(kStatus); 120 js_sync_manager_observer_.OnConnectionStatusChange(kStatus);
122 PumpLoop(); 121 PumpLoop();
123 } 122 }
124 123
125 } // namespace 124 } // namespace
126 } // namespace syncer 125 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/js_sync_manager_observer.h ('k') | sync/internal_api/model_type_entity.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698