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