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

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

Issue 2546183004: Remove unused linked_ptr inclusion (Closed)
Patch Set: Created 4 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
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_ENGINE_IMPL_SYNC_SCHEDULER_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_IMPL_H_
6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_IMPL_H_ 6 #define COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/cancelable_callback.h" 13 #include "base/cancelable_callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/gtest_prod_util.h" 15 #include "base/gtest_prod_util.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/memory/linked_ptr.h"
18 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
19 #include "base/threading/non_thread_safe.h" 18 #include "base/threading/non_thread_safe.h"
20 #include "base/time/time.h" 19 #include "base/time/time.h"
21 #include "base/timer/timer.h" 20 #include "base/timer/timer.h"
22 #include "components/sync/base/weak_handle.h" 21 #include "components/sync/base/weak_handle.h"
23 #include "components/sync/engine/polling_constants.h" 22 #include "components/sync/engine/polling_constants.h"
24 #include "components/sync/engine_impl/cycle/nudge_tracker.h" 23 #include "components/sync/engine_impl/cycle/nudge_tracker.h"
25 #include "components/sync/engine_impl/cycle/sync_cycle.h" 24 #include "components/sync/engine_impl/cycle/sync_cycle.h"
26 #include "components/sync/engine_impl/cycle/sync_cycle_context.h" 25 #include "components/sync/engine_impl/cycle/sync_cycle_context.h"
27 #include "components/sync/engine_impl/net/server_connection_manager.h" 26 #include "components/sync/engine_impl/net/server_connection_manager.h"
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 // A second factory specially for weak_handle_this_, to allow the handle 296 // A second factory specially for weak_handle_this_, to allow the handle
298 // to be const and alleviate threading concerns. 297 // to be const and alleviate threading concerns.
299 base::WeakPtrFactory<SyncSchedulerImpl> weak_ptr_factory_for_weak_handle_; 298 base::WeakPtrFactory<SyncSchedulerImpl> weak_ptr_factory_for_weak_handle_;
300 299
301 DISALLOW_COPY_AND_ASSIGN(SyncSchedulerImpl); 300 DISALLOW_COPY_AND_ASSIGN(SyncSchedulerImpl);
302 }; 301 };
303 302
304 } // namespace syncer 303 } // namespace syncer
305 304
306 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_IMPL_H_ 305 #endif // COMPONENTS_SYNC_ENGINE_IMPL_SYNC_SCHEDULER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698