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

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

Issue 2568033002: mediaview: Skeleton for ARC Documents Provider FS. (Closed)
Patch Set: IWYU and comments. 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 | « storage/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 "storage/common/fileapi/file_system_util.h" 5 #include "storage/common/fileapi/file_system_util.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 case kFileSystemTypePluginPrivate: 316 case kFileSystemTypePluginPrivate:
317 return "PluginPrivate"; 317 return "PluginPrivate";
318 case kFileSystemTypeCloudDevice: 318 case kFileSystemTypeCloudDevice:
319 return "CloudDevice"; 319 return "CloudDevice";
320 case kFileSystemTypeProvided: 320 case kFileSystemTypeProvided:
321 return "Provided"; 321 return "Provided";
322 case kFileSystemTypeDeviceMediaAsFileStorage: 322 case kFileSystemTypeDeviceMediaAsFileStorage:
323 return "DeviceMediaStorage"; 323 return "DeviceMediaStorage";
324 case kFileSystemTypeArcContent: 324 case kFileSystemTypeArcContent:
325 return "ArcContent"; 325 return "ArcContent";
326 case kFileSystemTypeArcDocumentsProvider:
327 return "ArcDocumentsProvider";
326 case kFileSystemInternalTypeEnumStart: 328 case kFileSystemInternalTypeEnumStart:
327 case kFileSystemInternalTypeEnumEnd: 329 case kFileSystemInternalTypeEnumEnd:
328 NOTREACHED(); 330 NOTREACHED();
329 // Fall through. 331 // Fall through.
330 case kFileSystemTypeUnknown: 332 case kFileSystemTypeUnknown:
331 return "Unknown"; 333 return "Unknown";
332 } 334 }
333 NOTREACHED(); 335 NOTREACHED();
334 return std::string(); 336 return std::string();
335 } 337 }
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
503 return base::File::FILE_ERROR_ABORT; 505 return base::File::FILE_ERROR_ABORT;
504 case net::ERR_ADDRESS_INVALID: 506 case net::ERR_ADDRESS_INVALID:
505 case net::ERR_INVALID_URL: 507 case net::ERR_INVALID_URL:
506 return base::File::FILE_ERROR_INVALID_URL; 508 return base::File::FILE_ERROR_INVALID_URL;
507 default: 509 default:
508 return base::File::FILE_ERROR_FAILED; 510 return base::File::FILE_ERROR_FAILED;
509 } 511 }
510 } 512 }
511 513
512 } // namespace storage 514 } // namespace storage
OLDNEW
« no previous file with comments | « storage/common/fileapi/file_system_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698