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_DRIVE_DRIVE_API_UTIL_H_ | 5 #ifndef CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ |
6 #define CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ | 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 11 #include "google_apis/drive/drive_api_error_codes.h" |
11 #include "google_apis/drive/drive_common_callbacks.h" | 12 #include "google_apis/drive/drive_common_callbacks.h" |
12 #include "google_apis/drive/gdata_errorcode.h" | |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class FilePath; | 17 class FilePath; |
18 class Value; | 18 class Value; |
19 } // namespace base | 19 } // namespace base |
20 | 20 |
21 namespace google_apis { | 21 namespace google_apis { |
22 class ChangeList; | 22 class ChangeList; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 bool IsKnownHostedDocumentMimeType(const std::string& mime_type); | 73 bool IsKnownHostedDocumentMimeType(const std::string& mime_type); |
74 | 74 |
75 // Returns true if the given file path has an extension corresponding to one of | 75 // Returns true if the given file path has an extension corresponding to one of |
76 // hosted document types. | 76 // hosted document types. |
77 bool HasHostedDocumentExtension(const base::FilePath& path); | 77 bool HasHostedDocumentExtension(const base::FilePath& path); |
78 | 78 |
79 } // namespace util | 79 } // namespace util |
80 } // namespace drive | 80 } // namespace drive |
81 | 81 |
82 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ | 82 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ |
OLD | NEW |