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

Side by Side Diff: webkit/common/fileapi/file_system_util.cc

Issue 120533006: Stub for Privet file system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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
« no previous file with comments | « webkit/common/fileapi/file_system_types.h ('k') | no next file » | 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 #include "webkit/common/fileapi/file_system_util.h" 5 #include "webkit/common/fileapi/file_system_util.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 return "Drive"; 248 return "Drive";
249 case kFileSystemTypeSyncable: 249 case kFileSystemTypeSyncable:
250 case kFileSystemTypeSyncableForInternalSync: 250 case kFileSystemTypeSyncableForInternalSync:
251 return "Syncable"; 251 return "Syncable";
252 case kFileSystemTypeNativeForPlatformApp: 252 case kFileSystemTypeNativeForPlatformApp:
253 return "NativeForPlatformApp"; 253 return "NativeForPlatformApp";
254 case kFileSystemTypeForTransientFile: 254 case kFileSystemTypeForTransientFile:
255 return "TransientFile"; 255 return "TransientFile";
256 case kFileSystemTypePluginPrivate: 256 case kFileSystemTypePluginPrivate:
257 return "PluginPrivate"; 257 return "PluginPrivate";
258 case kFileSystemTypeCloudDevice:
259 return "CloudDevice";
258 case kFileSystemInternalTypeEnumStart: 260 case kFileSystemInternalTypeEnumStart:
259 case kFileSystemInternalTypeEnumEnd: 261 case kFileSystemInternalTypeEnumEnd:
260 NOTREACHED(); 262 NOTREACHED();
261 // Fall through. 263 // Fall through.
262 case kFileSystemTypeUnknown: 264 case kFileSystemTypeUnknown:
263 return "Unknown"; 265 return "Unknown";
264 } 266 }
265 NOTREACHED(); 267 NOTREACHED();
266 return std::string(); 268 return std::string();
267 } 269 }
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 #if defined(OS_CHROMEOS) 448 #if defined(OS_CHROMEOS)
447 FileSystemInfo GetFileSystemInfoForChromeOS(const GURL& origin_url) { 449 FileSystemInfo GetFileSystemInfoForChromeOS(const GURL& origin_url) {
448 FileSystemType mount_type = fileapi::kFileSystemTypeExternal; 450 FileSystemType mount_type = fileapi::kFileSystemTypeExternal;
449 return FileSystemInfo(fileapi::GetFileSystemName(origin_url, mount_type), 451 return FileSystemInfo(fileapi::GetFileSystemName(origin_url, mount_type),
450 fileapi::GetFileSystemRootURI(origin_url, mount_type), 452 fileapi::GetFileSystemRootURI(origin_url, mount_type),
451 mount_type); 453 mount_type);
452 } 454 }
453 #endif 455 #endif
454 456
455 } // namespace fileapi 457 } // namespace fileapi
OLDNEW
« no previous file with comments | « webkit/common/fileapi/file_system_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698