Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
|
hashimoto
2015/06/22 23:16:15
nit: You shouldn't change copyright notice of move
Łukasz Anforowicz
2015/06/22 23:57:23
Oh, ok. I misinterpreted the feedback I got in th
| |
| 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 COMPONENTS_DRIVE_DRIVE_API_UTIL_H_ |
| 6 #define CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ | 6 #define COMPONENTS_DRIVE_DRIVE_API_UTIL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/md5.h" | 10 #include "base/md5.h" |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "google_apis/drive/drive_api_error_codes.h" | 12 #include "google_apis/drive/drive_api_error_codes.h" |
| 13 #include "google_apis/drive/drive_common_callbacks.h" | 13 #include "google_apis/drive/drive_common_callbacks.h" |
| 14 | 14 |
| 15 class GURL; | 15 class GURL; |
| 16 | 16 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 114 // document types. | 114 // document types. |
| 115 bool IsKnownHostedDocumentMimeType(const std::string& mime_type); | 115 bool IsKnownHostedDocumentMimeType(const std::string& mime_type); |
| 116 | 116 |
| 117 // Returns true if the given file path has an extension corresponding to one of | 117 // Returns true if the given file path has an extension corresponding to one of |
| 118 // hosted document types. | 118 // hosted document types. |
| 119 bool HasHostedDocumentExtension(const base::FilePath& path); | 119 bool HasHostedDocumentExtension(const base::FilePath& path); |
| 120 | 120 |
| 121 } // namespace util | 121 } // namespace util |
| 122 } // namespace drive | 122 } // namespace drive |
| 123 | 123 |
| 124 #endif // CHROME_BROWSER_DRIVE_DRIVE_API_UTIL_H_ | 124 #endif // COMPONENTS_DRIVE_DRIVE_API_UTIL_H_ |
| OLD | NEW |