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

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

Issue 23727009: Cleanup: Remove chrome namespace for storage monitor and media galleries. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix nit Created 7 years, 3 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 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"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/platform_file.h" 13 #include "base/platform_file.h"
14 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" 14 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
15 15
16 namespace chrome {
17
18 // Used to represent snapshot file request params. 16 // Used to represent snapshot file request params.
19 struct SnapshotRequestInfo { 17 struct SnapshotRequestInfo {
20 SnapshotRequestInfo( 18 SnapshotRequestInfo(
21 const std::string& device_file_path, 19 const std::string& device_file_path,
22 const base::FilePath& snapshot_file_path, 20 const base::FilePath& snapshot_file_path,
23 const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback& 21 const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback&
24 success_callback, 22 success_callback,
25 const MTPDeviceAsyncDelegate::ErrorCallback& error_callback); 23 const MTPDeviceAsyncDelegate::ErrorCallback& error_callback);
26 ~SnapshotRequestInfo(); 24 ~SnapshotRequestInfo();
27 25
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 102
105 // Number of bytes written into the snapshot file. 103 // Number of bytes written into the snapshot file.
106 uint32 bytes_written_; 104 uint32 bytes_written_;
107 105
108 // Whether an error occurred during file transfer. 106 // Whether an error occurred during file transfer.
109 bool error_occurred_; 107 bool error_occurred_;
110 108
111 DISALLOW_COPY_AND_ASSIGN(SnapshotFileDetails); 109 DISALLOW_COPY_AND_ASSIGN(SnapshotFileDetails);
112 }; 110 };
113 111
114 } // namespace chrome
115
116 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_ 112 #endif // CHROME_BROWSER_MEDIA_GALLERIES_LINUX_SNAPSHOT_FILE_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698