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

Side by Side Diff: chrome/browser/sync/js/js_sync_manager_observer_unittest.cc

Issue 7633077: Refactor syncapi.h (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Set of patches to refactor syncapi.h Created 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/js/js_sync_manager_observer.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/tracked.h" 11 #include "base/tracked.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "chrome/browser/sync/engine/syncapi.h" 13 #include "chrome/browser/sync/internal_api/read_node.h"
14 #include "chrome/browser/sync/internal_api/read_transaction.h"
15 #include "chrome/browser/sync/internal_api/syncapi_functions.h"
16 #include "chrome/browser/sync/internal_api/write_node.h"
17 #include "chrome/browser/sync/internal_api/write_transaction.h"
14 #include "chrome/browser/sync/js/js_arg_list.h" 18 #include "chrome/browser/sync/js/js_arg_list.h"
15 #include "chrome/browser/sync/js/js_event_details.h" 19 #include "chrome/browser/sync/js/js_event_details.h"
16 #include "chrome/browser/sync/js/js_test_util.h" 20 #include "chrome/browser/sync/js/js_test_util.h"
17 #include "chrome/browser/sync/sessions/session_state.h" 21 #include "chrome/browser/sync/sessions/session_state.h"
18 #include "chrome/browser/sync/syncable/model_type.h" 22 #include "chrome/browser/sync/syncable/model_type.h"
19 #include "chrome/browser/sync/weak_handle.h" 23 #include "chrome/browser/sync/weak_handle.h"
20 #include "chrome/test/sync/engine/test_user_share.h" 24 #include "chrome/test/sync/engine/test_user_share.h"
21 #include "testing/gtest/include/gtest/gtest.h" 25 #include "testing/gtest/include/gtest/gtest.h"
22 26
23 namespace browser_sync { 27 namespace browser_sync {
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 &trans, &changes[i], 329 &trans, &changes[i],
326 syncable::MODEL_TYPE_COUNT - i); 330 syncable::MODEL_TYPE_COUNT - i);
327 } 331 }
328 332
329 test_user_share.TearDown(); 333 test_user_share.TearDown();
330 PumpLoop(); 334 PumpLoop();
331 } 335 }
332 336
333 } // namespace 337 } // namespace
334 } // namespace browser_sync 338 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698