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

Side by Side Diff: tools/android/forwarder2/self_deleter_helper.h

Issue 1969863002: Fix include path for moved thread_task_runner_handle.h header in tools/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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
« no previous file with comments | « tools/android/forwarder2/host_controller.cc ('k') | tools/battor_agent/battor_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 TOOLS_ANDROID_FORWARDER2_SELF_DELETER_HELPER_H_ 5 #ifndef TOOLS_ANDROID_FORWARDER2_SELF_DELETER_HELPER_H_
6 #define TOOLS_ANDROID_FORWARDER2_SELF_DELETER_HELPER_H_ 6 #define TOOLS_ANDROID_FORWARDER2_SELF_DELETER_HELPER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/memory/ref_counted.h" 16 #include "base/memory/ref_counted.h"
17 #include "base/memory/weak_ptr.h" 17 #include "base/memory/weak_ptr.h"
18 #include "base/thread_task_runner_handle.h" 18 #include "base/threading/thread_task_runner_handle.h"
19 19
20 namespace base { 20 namespace base {
21 21
22 class SingleThreadTaskRunner; 22 class SingleThreadTaskRunner;
23 23
24 } // namespace base 24 } // namespace base
25 25
26 namespace forwarder2 { 26 namespace forwarder2 {
27 27
28 // Helper template class to be used in the following case: 28 // Helper template class to be used in the following case:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // that any WeakPtrs to Controller are invalidated before its members 133 // that any WeakPtrs to Controller are invalidated before its members
134 // variable's destructors are executed, rendering them invalid. 134 // variable's destructors are executed, rendering them invalid.
135 base::WeakPtrFactory<SelfDeleterHelper<T> > weak_ptr_factory_; 135 base::WeakPtrFactory<SelfDeleterHelper<T> > weak_ptr_factory_;
136 136
137 DISALLOW_COPY_AND_ASSIGN(SelfDeleterHelper); 137 DISALLOW_COPY_AND_ASSIGN(SelfDeleterHelper);
138 }; 138 };
139 139
140 } // namespace forwarder2 140 } // namespace forwarder2
141 141
142 #endif // TOOLS_ANDROID_FORWARDER2_SELF_DELETER_HELPER_H_ 142 #endif // TOOLS_ANDROID_FORWARDER2_SELF_DELETER_HELPER_H_
OLDNEW
« no previous file with comments | « tools/android/forwarder2/host_controller.cc ('k') | tools/battor_agent/battor_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698