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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system_proxy.h

Issue 10821127: gdata cleanup: Fix mismatched comments and remove unnecessary forward declarations. (Closed) Base URL: svn://svn.chromium.org/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 | webkit/chromeos/fileapi/remote_file_system_proxy.h » ('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 (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 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_PROXY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_PROXY_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_PROXY_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_PROXY_H_
7 7
8 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" 8 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
9 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h" 9 #include "chrome/browser/chromeos/gdata/gdata_file_system_interface.h"
10 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" 10 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h"
11 11
12 class Profile;
13
14 namespace fileapi { 12 namespace fileapi {
15 class FileSystemURL; 13 class FileSystemURL;
16 } 14 }
17 15
18 namespace gdata { 16 namespace gdata {
19 17
20 class GDataEntry;
21 class GDataEntryProto; 18 class GDataEntryProto;
22 class GDataFileSystemInterface; 19 class GDataFileSystemInterface;
23 20
24 // The interface class for remote file system proxy. 21 // Implementation of File API's remote file system proxy for GData file system.
25 class GDataFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface { 22 class GDataFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface {
26 public: 23 public:
27 // |profile| is used to create GDataFileSystem, which is a per-profile 24 // |file_system| is the GDataFileSystem instance owned by GDataSystemService.
28 // instance.
29 explicit GDataFileSystemProxy(GDataFileSystemInterface* file_system); 25 explicit GDataFileSystemProxy(GDataFileSystemInterface* file_system);
30 26
31 // fileapi::RemoteFileSystemProxyInterface overrides. 27 // fileapi::RemoteFileSystemProxyInterface overrides.
32 virtual void GetFileInfo( 28 virtual void GetFileInfo(
33 const fileapi::FileSystemURL& url, 29 const fileapi::FileSystemURL& url,
34 const fileapi::FileSystemOperationInterface::GetMetadataCallback& 30 const fileapi::FileSystemOperationInterface::GetMetadataCallback&
35 callback) OVERRIDE; 31 callback) OVERRIDE;
36 virtual void Copy( 32 virtual void Copy(
37 const fileapi::FileSystemURL& src_url, 33 const fileapi::FileSystemURL& src_url,
38 const fileapi::FileSystemURL& dest_url, 34 const fileapi::FileSystemURL& dest_url,
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // GDataFileSystemProxy is owned by Profile, which outlives 181 // GDataFileSystemProxy is owned by Profile, which outlives
186 // GDataFileSystemProxy, which is owned by CrosMountPointProvider (i.e. by 182 // GDataFileSystemProxy, which is owned by CrosMountPointProvider (i.e. by
187 // the time Profile is removed, the file manager is already gone). Hence 183 // the time Profile is removed, the file manager is already gone). Hence
188 // it's safe to use this as a raw pointer. 184 // it's safe to use this as a raw pointer.
189 GDataFileSystemInterface* file_system_; 185 GDataFileSystemInterface* file_system_;
190 }; 186 };
191 187
192 } // namespace chromeos 188 } // namespace chromeos
193 189
194 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_PROXY_H_ 190 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_PROXY_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/chromeos/fileapi/remote_file_system_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698