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

Side by Side Diff: chrome/browser/sync/internal_api/js_sync_manager_observer_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/js/js_sync_manager_observer.h" 5 #include "chrome/browser/sync/internal_api/js_sync_manager_observer.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/sync/js/js_event_details.h" 11 #include "sync/js/js_event_details.h"
12 #include "chrome/browser/sync/js/js_test_util.h" 12 #include "sync/js/js_test_util.h"
13 #include "chrome/browser/sync/protocol/sync_protocol_error.h" 13 #include "sync/protocol/sync_protocol_error.h"
14 #include "chrome/browser/sync/sessions/session_state.h" 14 #include "sync/sessions/session_state.h"
15 #include "chrome/browser/sync/syncable/model_type.h" 15 #include "sync/syncable/model_type.h"
16 #include "chrome/browser/sync/util/weak_handle.h" 16 #include "sync/util/weak_handle.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 namespace browser_sync { 19 namespace browser_sync {
20 namespace { 20 namespace {
21 21
22 using ::testing::InSequence; 22 using ::testing::InSequence;
23 using ::testing::StrictMock; 23 using ::testing::StrictMock;
24 24
25 class JsSyncManagerObserverTest : public testing::Test { 25 class JsSyncManagerObserverTest : public testing::Test {
26 protected: 26 protected:
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 HandleJsEvent("onEncryptedTypesChanged", 223 HandleJsEvent("onEncryptedTypesChanged",
224 HasDetailsAsDictionary(expected_details))); 224 HasDetailsAsDictionary(expected_details)));
225 225
226 js_sync_manager_observer_.OnEncryptedTypesChanged( 226 js_sync_manager_observer_.OnEncryptedTypesChanged(
227 encrypted_types, encrypt_everything); 227 encrypted_types, encrypt_everything);
228 PumpLoop(); 228 PumpLoop();
229 } 229 }
230 230
231 } // namespace 231 } // namespace
232 } // namespace browser_sync 232 } // namespace browser_sync
OLDNEW
« no previous file with comments | « chrome/browser/sync/internal_api/js_sync_manager_observer.cc ('k') | chrome/browser/sync/internal_api/read_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698