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

Side by Side Diff: chrome/browser/media_galleries/win/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_WIN_SNAPSHOT_FILE_DETAILS_H_ 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_WIN_SNAPSHOT_FILE_DETAILS_H_
6 #define CHROME_BROWSER_MEDIA_GALLERIES_WIN_SNAPSHOT_FILE_DETAILS_H_ 6 #define CHROME_BROWSER_MEDIA_GALLERIES_WIN_SNAPSHOT_FILE_DETAILS_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/platform_file.h" 9 #include "base/platform_file.h"
10 #include "base/win/scoped_comptr.h" 10 #include "base/win/scoped_comptr.h"
11 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h" 11 #include "chrome/browser/media_galleries/fileapi/mtp_device_async_delegate.h"
12 12
13 namespace chrome {
14
15 // Structure used to represent snapshot file request params. 13 // Structure used to represent snapshot file request params.
16 struct SnapshotRequestInfo { 14 struct SnapshotRequestInfo {
17 SnapshotRequestInfo( 15 SnapshotRequestInfo(
18 const base::FilePath& device_file_path, 16 const base::FilePath& device_file_path,
19 const base::FilePath& snapshot_file_path, 17 const base::FilePath& snapshot_file_path,
20 const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback& 18 const MTPDeviceAsyncDelegate::CreateSnapshotFileSuccessCallback&
21 success_callback, 19 success_callback,
22 const MTPDeviceAsyncDelegate::ErrorCallback& error_callback); 20 const MTPDeviceAsyncDelegate::ErrorCallback& error_callback);
23 21
24 // Device file path. 22 // Device file path.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 base::win::ScopedComPtr<IStream> file_stream_; 83 base::win::ScopedComPtr<IStream> file_stream_;
86 84
87 // The number of bytes of data to read from the |file_stream| object 85 // The number of bytes of data to read from the |file_stream| object
88 // during each IStream::Read() operation. 86 // during each IStream::Read() operation.
89 DWORD optimal_transfer_size_; 87 DWORD optimal_transfer_size_;
90 88
91 // Total number of bytes written into the snapshot file. 89 // Total number of bytes written into the snapshot file.
92 DWORD bytes_written_; 90 DWORD bytes_written_;
93 }; 91 };
94 92
95 } // namespace chrome
96
97 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_SNAPSHOT_FILE_DETAILS_H_ 93 #endif // CHROME_BROWSER_MEDIA_GALLERIES_WIN_SNAPSHOT_FILE_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698