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

Side by Side Diff: chrome/browser/chromeos/drive/drive_file_error.cc

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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) 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 "chrome/browser/chromeos/drive/drive_file_error.h" 5 #include "chrome/browser/chromeos/drive/drive_file_error.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace gdata { 9 namespace drive {
10 10
11 base::PlatformFileError DriveFileErrorToPlatformError(DriveFileError error) { 11 base::PlatformFileError DriveFileErrorToPlatformError(DriveFileError error) {
12 switch (error) { 12 switch (error) {
13 case DRIVE_FILE_OK: 13 case DRIVE_FILE_OK:
14 return base::PLATFORM_FILE_OK; 14 return base::PLATFORM_FILE_OK;
15 15
16 case DRIVE_FILE_ERROR_FAILED: 16 case DRIVE_FILE_ERROR_FAILED:
17 return base::PLATFORM_FILE_ERROR_FAILED; 17 return base::PLATFORM_FILE_ERROR_FAILED;
18 18
19 case DRIVE_FILE_ERROR_IN_USE: 19 case DRIVE_FILE_ERROR_IN_USE:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 return base::PLATFORM_FILE_ERROR_FAILED; 62 return base::PLATFORM_FILE_ERROR_FAILED;
63 63
64 case DRIVE_FILE_ERROR_THROTTLED: 64 case DRIVE_FILE_ERROR_THROTTLED:
65 return base::PLATFORM_FILE_ERROR_FAILED; 65 return base::PLATFORM_FILE_ERROR_FAILED;
66 } 66 }
67 67
68 NOTREACHED(); 68 NOTREACHED();
69 return base::PLATFORM_FILE_ERROR_FAILED; 69 return base::PLATFORM_FILE_ERROR_FAILED;
70 } 70 }
71 71
72 } // namespace gdata 72 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_file_error.h ('k') | chrome/browser/chromeos/drive/drive_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698