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

Side by Side Diff: chrome/browser/media_galleries/linux/snapshot_file_details.h

Issue 646853003: Cleanup return values in SnapshotFileDetails (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 52 }
53 53
54 base::FilePath snapshot_file_path() const { 54 base::FilePath snapshot_file_path() const {
55 return request_info_.snapshot_file_path; 55 return request_info_.snapshot_file_path;
56 } 56 }
57 57
58 uint32 bytes_written() const { 58 uint32 bytes_written() const {
59 return bytes_written_; 59 return bytes_written_;
60 } 60 }
61 61
62 const base::File::Info file_info() const { 62 const base::File::Info& file_info() const {
63 return file_info_; 63 return file_info_;
64 } 64 }
65 65
66 const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback 66 const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback
67 success_callback() const { 67 success_callback() const {
68 return request_info_.success_callback; 68 return request_info_.success_callback;
69 } 69 }
70 70
71 const MTPDeviceAsyncDelegate::ErrorCallback error_callback() const { 71 const MTPDeviceAsyncDelegate::ErrorCallback error_callback() const {
72 return request_info_.error_callback; 72 return request_info_.error_callback;
(...skipping 30 matching lines...) Expand all
103 // Number of bytes written into the snapshot file. 103 // Number of bytes written into the snapshot file.
104 uint32 bytes_written_; 104 uint32 bytes_written_;
105 105
106 // Whether an error occurred during file transfer. 106 // Whether an error occurred during file transfer.
107 bool error_occurred_; 107 bool error_occurred_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(SnapshotFileDetails); 109 DISALLOW_COPY_AND_ASSIGN(SnapshotFileDetails);
110 }; 110 };
111 111
112 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_ 112 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_
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