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

Side by Side Diff: components/invalidation/impl/sync_system_resources.h

Issue 2921903003: Remove base::NonThreadSafe now that all users are gone!! (Closed)
Patch Set: rebase on r477274 Created 3 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Simple system resources class that uses the current thread for scheduling. 5 // Simple system resources class that uses the current thread for scheduling.
6 // Assumes the current thread is already running tasks. 6 // Assumes the current thread is already running tasks.
7 7
8 #ifndef COMPONENTS_INVALIDATION_IMPL_SYNC_SYSTEM_RESOURCES_H_ 8 #ifndef COMPONENTS_INVALIDATION_IMPL_SYNC_SYSTEM_RESOURCES_H_
9 #define COMPONENTS_INVALIDATION_IMPL_SYNC_SYSTEM_RESOURCES_H_ 9 #define COMPONENTS_INVALIDATION_IMPL_SYNC_SYSTEM_RESOURCES_H_
10 10
11 #include <memory> 11 #include <memory>
12 #include <set> 12 #include <set>
13 #include <string> 13 #include <string>
14 #include <vector> 14 #include <vector>
15 15
16 #include "base/compiler_specific.h" 16 #include "base/compiler_specific.h"
17 #include "base/memory/ref_counted.h" 17 #include "base/memory/ref_counted.h"
18 #include "base/memory/weak_ptr.h" 18 #include "base/memory/weak_ptr.h"
19 #include "base/single_thread_task_runner.h" 19 #include "base/single_thread_task_runner.h"
20 #include "base/threading/non_thread_safe.h"
21 #include "base/values.h" 20 #include "base/values.h"
22 #include "components/invalidation/impl/state_writer.h" 21 #include "components/invalidation/impl/state_writer.h"
23 #include "components/invalidation/public/invalidation_export.h" 22 #include "components/invalidation/public/invalidation_export.h"
24 #include "components/invalidation/public/invalidator_state.h" 23 #include "components/invalidation/public/invalidator_state.h"
25 #include "google/cacheinvalidation/include/system-resources.h" 24 #include "google/cacheinvalidation/include/system-resources.h"
26 #include "jingle/notifier/base/notifier_options.h" 25 #include "jingle/notifier/base/notifier_options.h"
27 26
28 namespace syncer { 27 namespace syncer {
29 28
30 class GCMNetworkChannelDelegate; 29 class GCMNetworkChannelDelegate;
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 std::unique_ptr<SyncInvalidationScheduler> internal_scheduler_; 237 std::unique_ptr<SyncInvalidationScheduler> internal_scheduler_;
239 std::unique_ptr<SyncInvalidationScheduler> listener_scheduler_; 238 std::unique_ptr<SyncInvalidationScheduler> listener_scheduler_;
240 std::unique_ptr<SyncStorage> storage_; 239 std::unique_ptr<SyncStorage> storage_;
241 // sync_network_channel_ is owned by SyncInvalidationListener. 240 // sync_network_channel_ is owned by SyncInvalidationListener.
242 SyncNetworkChannel* sync_network_channel_; 241 SyncNetworkChannel* sync_network_channel_;
243 }; 242 };
244 243
245 } // namespace syncer 244 } // namespace syncer
246 245
247 #endif // COMPONENTS_INVALIDATION_IMPL_SYNC_SYSTEM_RESOURCES_H_ 246 #endif // COMPONENTS_INVALIDATION_IMPL_SYNC_SYSTEM_RESOURCES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698