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

Side by Side Diff: chrome/browser/chromeos/drive/drive_file_stream_reader.h

Issue 15843006: Random clean up in c/b/cros/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | chrome/browser/chromeos/drive/drive_integration_service.cc » ('j') | 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_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 const FileSystemGetter file_system_getter_; 202 const FileSystemGetter file_system_getter_;
203 scoped_refptr<base::SequencedTaskRunner> file_task_runner_; 203 scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
204 scoped_ptr<internal::ReaderProxy> reader_proxy_; 204 scoped_ptr<internal::ReaderProxy> reader_proxy_;
205 205
206 // This should remain the last member so it'll be destroyed first and 206 // This should remain the last member so it'll be destroyed first and
207 // invalidate its weak pointers before other members are destroyed. 207 // invalidate its weak pointers before other members are destroyed.
208 base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_; 208 base::WeakPtrFactory<DriveFileStreamReader> weak_ptr_factory_;
209 DISALLOW_COPY_AND_ASSIGN(DriveFileStreamReader); 209 DISALLOW_COPY_AND_ASSIGN(DriveFileStreamReader);
210 }; 210 };
211 211
212 // TODO(hidehiko): Add thin wrapper class inheriting
213 // webkit_blob::FileStreamReader for the DriveFileStreamReader.
214
215 } // namespace drive 212 } // namespace drive
216 213
217 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_ 214 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_STREAM_READER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/drive_integration_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698