OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 GOOGLE_APIS_DRIVE_FILES_LIST_REQUEST_RUNNER_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_FILES_LIST_REQUEST_RUNNER_H_ |
6 #define GOOGLE_APIS_DRIVE_FILES_LIST_REQUEST_RUNNER_H_ | 6 #define GOOGLE_APIS_DRIVE_FILES_LIST_REQUEST_RUNNER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | |
11 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "google_apis/drive/drive_api_requests.h" | 14 #include "google_apis/drive/drive_api_requests.h" |
15 #include "google_apis/drive/drive_api_url_generator.h" | 15 #include "google_apis/drive/drive_api_url_generator.h" |
16 #include "google_apis/drive/drive_common_callbacks.h" | 16 #include "google_apis/drive/drive_common_callbacks.h" |
17 | 17 |
18 namespace google_apis { | 18 namespace google_apis { |
19 | 19 |
20 class RequestSender; | 20 class RequestSender; |
21 | 21 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 // Note: This should remain the last member so it'll be destroyed and | 63 // Note: This should remain the last member so it'll be destroyed and |
64 // invalidate its weak pointers before any other members are destroyed. | 64 // invalidate its weak pointers before any other members are destroyed. |
65 base::WeakPtrFactory<FilesListRequestRunner> weak_ptr_factory_; | 65 base::WeakPtrFactory<FilesListRequestRunner> weak_ptr_factory_; |
66 DISALLOW_COPY_AND_ASSIGN(FilesListRequestRunner); | 66 DISALLOW_COPY_AND_ASSIGN(FilesListRequestRunner); |
67 }; | 67 }; |
68 | 68 |
69 } // namespace google_apis | 69 } // namespace google_apis |
70 | 70 |
71 #endif // GOOGLE_APIS_DRIVE_FILES_LIST_REQUEST_RUNNER_H_ | 71 #endif // GOOGLE_APIS_DRIVE_FILES_LIST_REQUEST_RUNNER_H_ |
OLD | NEW |