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

Side by Side Diff: chrome/browser/sync/internal_api/js_mutation_event_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) 2011 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_mutation_event_observer.h" 5 #include "chrome/browser/sync/internal_api/js_mutation_event_observer.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/sync/js/js_event_details.h" 10 #include "sync/js/js_event_details.h"
11 #include "chrome/browser/sync/js/js_test_util.h" 11 #include "sync/js/js_test_util.h"
12 #include "chrome/browser/sync/syncable/model_type.h" 12 #include "sync/syncable/model_type.h"
13 #include "chrome/browser/sync/util/weak_handle.h" 13 #include "sync/util/weak_handle.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
16 namespace browser_sync { 16 namespace browser_sync {
17 namespace { 17 namespace {
18 18
19 using ::testing::InSequence; 19 using ::testing::InSequence;
20 using ::testing::StrictMock; 20 using ::testing::StrictMock;
21 21
22 class JsMutationEventObserverTest : public testing::Test { 22 class JsMutationEventObserverTest : public testing::Test {
23 protected: 23 protected:
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 for (int i = syncable::FIRST_REAL_MODEL_TYPE; 118 for (int i = syncable::FIRST_REAL_MODEL_TYPE;
119 i < syncable::MODEL_TYPE_COUNT; ++i) { 119 i < syncable::MODEL_TYPE_COUNT; ++i) {
120 js_mutation_event_observer_.OnChangesComplete( 120 js_mutation_event_observer_.OnChangesComplete(
121 syncable::ModelTypeFromInt(i)); 121 syncable::ModelTypeFromInt(i));
122 } 122 }
123 PumpLoop(); 123 PumpLoop();
124 } 124 }
125 125
126 } // namespace 126 } // namespace
127 } // namespace browser_sync 127 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698