Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: components/drive/drive_api_util.h

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/drive/README ('k') | components/drive/drive_api_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 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
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_
OLDNEW
« no previous file with comments | « components/drive/README ('k') | components/drive/drive_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698