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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system.cc

Issue 10832312: Fix indentation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « no previous file | 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 "chrome/browser/chromeos/gdata/gdata_file_system.h" 5 #include "chrome/browser/chromeos/gdata/gdata_file_system.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 2757 matching lines...) Expand 10 before | Expand all | Expand 10 after
2768 void GDataFileSystem::NotifyAndRunFileMoveCallback( 2768 void GDataFileSystem::NotifyAndRunFileMoveCallback(
2769 const FileMoveCallback& callback, 2769 const FileMoveCallback& callback,
2770 GDataFileError error, 2770 GDataFileError error,
2771 const FilePath& moved_file_path) { 2771 const FilePath& moved_file_path) {
2772 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2772 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2773 2773
2774 if (error == GDATA_FILE_OK) 2774 if (error == GDATA_FILE_OK)
2775 OnDirectoryChanged(moved_file_path.DirName()); 2775 OnDirectoryChanged(moved_file_path.DirName());
2776 2776
2777 if (!callback.is_null()) 2777 if (!callback.is_null())
2778 callback.Run(error, moved_file_path); 2778 callback.Run(error, moved_file_path);
2779 } 2779 }
2780 2780
2781 void GDataFileSystem::NotifyAndRunFileOperationCallback( 2781 void GDataFileSystem::NotifyAndRunFileOperationCallback(
2782 const FileOperationCallback& callback, 2782 const FileOperationCallback& callback,
2783 GDataFileError error, 2783 GDataFileError error,
2784 const FilePath& moved_file_path) { 2784 const FilePath& moved_file_path) {
2785 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 2785 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
2786 DCHECK(!callback.is_null()); 2786 DCHECK(!callback.is_null());
2787 2787
2788 if (error == GDATA_FILE_OK) 2788 if (error == GDATA_FILE_OK)
(...skipping 667 matching lines...) Expand 10 before | Expand all | Expand 10 after
3456 return; 3456 return;
3457 } 3457 }
3458 3458
3459 PlatformFileInfoProto entry_file_info; 3459 PlatformFileInfoProto entry_file_info;
3460 GDataEntry::ConvertPlatformFileInfoToProto(*file_info, &entry_file_info); 3460 GDataEntry::ConvertPlatformFileInfoToProto(*file_info, &entry_file_info);
3461 *entry_proto->mutable_file_info() = entry_file_info; 3461 *entry_proto->mutable_file_info() = entry_file_info;
3462 callback.Run(GDATA_FILE_OK, entry_proto.Pass()); 3462 callback.Run(GDATA_FILE_OK, entry_proto.Pass());
3463 } 3463 }
3464 3464
3465 } // namespace gdata 3465 } // namespace gdata
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698