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

Side by Side Diff: chrome/browser/extensions/api/sync_file_system/sync_file_system_api_helpers.h

Issue 442383002: Move storage-related files from webkit/ to new top-level directory storage/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_HELP ERS_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_HELP ERS_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_HELP ERS_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_HELP ERS_H_
7 7
8 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" 8 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h"
9 #include "chrome/browser/sync_file_system/sync_action.h" 9 #include "chrome/browser/sync_file_system/sync_action.h"
10 #include "chrome/browser/sync_file_system/sync_direction.h" 10 #include "chrome/browser/sync_file_system/sync_direction.h"
11 #include "chrome/browser/sync_file_system/sync_file_status.h" 11 #include "chrome/browser/sync_file_system/sync_file_status.h"
12 #include "chrome/browser/sync_file_system/sync_file_type.h" 12 #include "chrome/browser/sync_file_system/sync_file_type.h"
13 #include "chrome/browser/sync_file_system/sync_service_state.h" 13 #include "chrome/browser/sync_file_system/sync_service_state.h"
14 #include "chrome/common/extensions/api/sync_file_system.h" 14 #include "chrome/common/extensions/api/sync_file_system.h"
15 15
16 namespace fileapi { 16 namespace storage {
17 class FileSystemURL; 17 class FileSystemURL;
18 } 18 }
19 19
20 namespace base { 20 namespace base {
21 class DictionaryValue; 21 class DictionaryValue;
22 } 22 }
23 23
24 namespace extensions { 24 namespace extensions {
25 25
26 // extensions::api::sync_file_system <-> sync_file_system enum conversion 26 // extensions::api::sync_file_system <-> sync_file_system enum conversion
(...skipping 19 matching lines...) Expand all
46 api::sync_file_system::ConflictResolutionPolicy); 46 api::sync_file_system::ConflictResolutionPolicy);
47 47
48 // Creates a dictionary for FileSystem Entry from given |url|. 48 // Creates a dictionary for FileSystem Entry from given |url|.
49 // This will create a dictionary which has 'fileSystemType', 'fileSystemName', 49 // This will create a dictionary which has 'fileSystemType', 'fileSystemName',
50 // 'rootUrl', 'filePath' and 'isDirectory' fields. 50 // 'rootUrl', 'filePath' and 'isDirectory' fields.
51 // The returned dictionary is supposed to be interpreted 51 // The returned dictionary is supposed to be interpreted
52 // in the renderer's customer binding to create a FileEntry object. 52 // in the renderer's customer binding to create a FileEntry object.
53 // This returns NULL if the given |url| is not valid or |file_type| is 53 // This returns NULL if the given |url| is not valid or |file_type| is
54 // SYNC_FILE_TYPE_UNKNOWN. 54 // SYNC_FILE_TYPE_UNKNOWN.
55 base::DictionaryValue* CreateDictionaryValueForFileSystemEntry( 55 base::DictionaryValue* CreateDictionaryValueForFileSystemEntry(
56 const fileapi::FileSystemURL& url, 56 const storage::FileSystemURL& url,
57 sync_file_system::SyncFileType file_type); 57 sync_file_system::SyncFileType file_type);
58 58
59 } // namespace extensions 59 } // namespace extensions
60 60
61 #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H ELPERS_H_ 61 #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H ELPERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698