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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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/drive_notification_manager.h ('k') | components/drive/job_scheduler.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ 5 #ifndef COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_
6 #define COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ 6 #define COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "components/drive/file_errors.h" 12 #include "components/drive/file_errors.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 14
15 namespace drive { 15 namespace drive {
16 16
17 class DriveAppRegistry;
18 class DriveServiceInterface;
19 class FileSystemInterface;
20
21 namespace util { 17 namespace util {
22 18
23 // "drive" diretory's local ID is fixed to this value. 19 // "drive" diretory's local ID is fixed to this value.
24 const char kDriveGrandRootLocalId[] = "<drive>"; 20 const char kDriveGrandRootLocalId[] = "<drive>";
25 21
26 // "drive/other" diretory's local ID is fixed to this value. 22 // "drive/other" diretory's local ID is fixed to this value.
27 const char kDriveOtherDirLocalId[] = "<other>"; 23 const char kDriveOtherDirLocalId[] = "<other>";
28 24
29 // "drive/trash" diretory's local ID is fixed to this value. 25 // "drive/trash" diretory's local ID is fixed to this value.
30 const char kDriveTrashDirLocalId[] = "<trash>"; 26 const char kDriveTrashDirLocalId[] = "<trash>";
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Reads URL from a GDoc file. 77 // Reads URL from a GDoc file.
82 GURL ReadUrlFromGDocFile(const base::FilePath& file_path); 78 GURL ReadUrlFromGDocFile(const base::FilePath& file_path);
83 79
84 // Reads resource ID from a GDoc file. 80 // Reads resource ID from a GDoc file.
85 std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path); 81 std::string ReadResourceIdFromGDocFile(const base::FilePath& file_path);
86 82
87 } // namespace util 83 } // namespace util
88 } // namespace drive 84 } // namespace drive
89 85
90 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_ 86 #endif // COMPONENTS_DRIVE_FILE_SYSTEM_CORE_UTIL_H_
OLDNEW
« no previous file with comments | « components/drive/drive_notification_manager.h ('k') | components/drive/job_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698