OLD | NEW |
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 CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ | 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ |
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ | 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
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/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/memory/scoped_vector.h" | |
14 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" | 13 #include "chrome/browser/sync_file_system/drive_backend/metadata_database.pb.h" |
15 #include "chrome/browser/sync_file_system/sync_status_code.h" | 14 #include "chrome/browser/sync_file_system/sync_status_code.h" |
16 #include "google_apis/drive/drive_api_error_codes.h" | 15 #include "google_apis/drive/drive_api_error_codes.h" |
17 #include "storage/browser/blob/scoped_file.h" | 16 #include "storage/browser/blob/scoped_file.h" |
18 | 17 |
19 namespace google_apis { | 18 namespace google_apis { |
20 class ChangeResource; | 19 class ChangeResource; |
21 class FileResource; | 20 class FileResource; |
22 } | 21 } |
23 | 22 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 base::Callback<R()> CreateComposedFunction( | 78 base::Callback<R()> CreateComposedFunction( |
80 const base::Callback<T()>& g, | 79 const base::Callback<T()>& g, |
81 const base::Callback<R(S)>& f) { | 80 const base::Callback<R(S)>& f) { |
82 return base::Bind(&ComposeFunction<R, S, T>, g, f); | 81 return base::Bind(&ComposeFunction<R, S, T>, g, f); |
83 } | 82 } |
84 | 83 |
85 } // namespace drive_backend | 84 } // namespace drive_backend |
86 } // namespace sync_file_system | 85 } // namespace sync_file_system |
87 | 86 |
88 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ | 87 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_DRIVE_BACKEND_UTIL_H_ |
OLD | NEW |