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

Side by Side Diff: components/sync/engine_impl/debug_info_event_listener.h

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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef COMPONENTS_SYNC_CORE_IMPL_DEBUG_INFO_EVENT_LISTENER_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_DEBUG_INFO_EVENT_LISTENER_H_
6 #define COMPONENTS_SYNC_CORE_IMPL_DEBUG_INFO_EVENT_LISTENER_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_DEBUG_INFO_EVENT_LISTENER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "components/sync/base/model_type.h" 15 #include "components/sync/base/model_type.h"
16 #include "components/sync/base/weak_handle.h" 16 #include "components/sync/base/weak_handle.h"
17 #include "components/sync/core/data_type_debug_info_listener.h"
18 #include "components/sync/core/sync_encryption_handler.h"
19 #include "components/sync/core/sync_manager.h"
20 #include "components/sync/engine/cycle/sync_cycle_snapshot.h" 17 #include "components/sync/engine/cycle/sync_cycle_snapshot.h"
18 #include "components/sync/engine/data_type_debug_info_listener.h"
19 #include "components/sync/engine/sync_encryption_handler.h"
20 #include "components/sync/engine/sync_manager.h"
21 #include "components/sync/engine_impl/cycle/debug_info_getter.h" 21 #include "components/sync/engine_impl/cycle/debug_info_getter.h"
22 #include "components/sync/js/js_backend.h" 22 #include "components/sync/js/js_backend.h"
23 #include "components/sync/protocol/sync.pb.h" 23 #include "components/sync/protocol/sync.pb.h"
24 24
25 namespace syncer { 25 namespace syncer {
26 26
27 // In order to track datatype association results, we need at least as many 27 // In order to track datatype association results, we need at least as many
28 // entries as datatypes. Reserve additional space for other kinds of events that 28 // entries as datatypes. Reserve additional space for other kinds of events that
29 // are likely to happen during first sync or startup. 29 // are likely to happen during first sync or startup.
30 const unsigned int kMaxEntries = MODEL_TYPE_COUNT + 10; 30 const unsigned int kMaxEntries = MODEL_TYPE_COUNT + 10;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 base::ThreadChecker thread_checker_; 110 base::ThreadChecker thread_checker_;
111 111
112 base::WeakPtrFactory<DebugInfoEventListener> weak_ptr_factory_; 112 base::WeakPtrFactory<DebugInfoEventListener> weak_ptr_factory_;
113 113
114 DISALLOW_COPY_AND_ASSIGN(DebugInfoEventListener); 114 DISALLOW_COPY_AND_ASSIGN(DebugInfoEventListener);
115 }; 115 };
116 116
117 } // namespace syncer 117 } // namespace syncer
118 118
119 #endif // COMPONENTS_SYNC_CORE_IMPL_DEBUG_INFO_EVENT_LISTENER_H_ 119 #endif // COMPONENTS_SYNC_ENGINE_IMPL_DEBUG_INFO_EVENT_LISTENER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698