OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_GOOGLE_APIS_REQUEST_SENDER_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_REQUEST_SENDER_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_REQUEST_SENDER_H_ | 6 #define GOOGLE_APIS_DRIVE_REQUEST_SENDER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/callback_forward.h" | 12 #include "base/callback_forward.h" |
13 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
17 #include "chrome/browser/google_apis/gdata_errorcode.h" | 17 #include "google_apis/drive/gdata_errorcode.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class SequencedTaskRunner; | 20 class SequencedTaskRunner; |
21 } | 21 } |
22 | 22 |
23 namespace net { | 23 namespace net { |
24 class URLRequestContextGetter; | 24 class URLRequestContextGetter; |
25 } | 25 } |
26 | 26 |
27 namespace google_apis { | 27 namespace google_apis { |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 101 |
102 // Note: This should remain the last member so it'll be destroyed and | 102 // Note: This should remain the last member so it'll be destroyed and |
103 // invalidate its weak pointers before any other members are destroyed. | 103 // invalidate its weak pointers before any other members are destroyed. |
104 base::WeakPtrFactory<RequestSender> weak_ptr_factory_; | 104 base::WeakPtrFactory<RequestSender> weak_ptr_factory_; |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(RequestSender); | 106 DISALLOW_COPY_AND_ASSIGN(RequestSender); |
107 }; | 107 }; |
108 | 108 |
109 } // namespace google_apis | 109 } // namespace google_apis |
110 | 110 |
111 #endif // CHROME_BROWSER_GOOGLE_APIS_REQUEST_SENDER_H_ | 111 #endif // GOOGLE_APIS_DRIVE_REQUEST_SENDER_H_ |
OLD | NEW |