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

Side by Side Diff: content/common/fileapi/webfilesystem_impl.h

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 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 | Annotate | Revision Log
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 CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ 5 #ifndef CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_
6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ 6 #define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste m.h"
11 11
12 namespace WebKit { 12 namespace WebKit {
13 class WebURL; 13 class WebURL;
14 class WebFileWriter; 14 class WebFileWriter;
15 class WebFileWriterClient; 15 class WebFileWriterClient;
16 } 16 }
17 17
18 namespace content {
19
18 class WebFileSystemImpl : public WebKit::WebFileSystem { 20 class WebFileSystemImpl : public WebKit::WebFileSystem {
19 public: 21 public:
20 WebFileSystemImpl(); 22 WebFileSystemImpl();
21 virtual ~WebFileSystemImpl() { } 23 virtual ~WebFileSystemImpl() { }
22 24
23 // WebFileSystem implementation. 25 // WebFileSystem implementation.
24 virtual void move( 26 virtual void move(
25 const WebKit::WebURL& src_path, 27 const WebKit::WebURL& src_path,
26 const WebKit::WebURL& dest_path, 28 const WebKit::WebURL& dest_path,
27 WebKit::WebFileSystemCallbacks*) OVERRIDE; 29 WebKit::WebFileSystemCallbacks*) OVERRIDE;
(...skipping 28 matching lines...) Expand all
56 const WebKit::WebURL& path, 58 const WebKit::WebURL& path,
57 WebKit::WebFileSystemCallbacks*) OVERRIDE; 59 WebKit::WebFileSystemCallbacks*) OVERRIDE;
58 virtual WebKit::WebFileWriter* createFileWriter( 60 virtual WebKit::WebFileWriter* createFileWriter(
59 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE; 61 const WebKit::WebURL& path, WebKit::WebFileWriterClient*) OVERRIDE;
60 virtual void createSnapshotFileAndReadMetadata( 62 virtual void createSnapshotFileAndReadMetadata(
61 const WebKit::WebURL& blobURL, 63 const WebKit::WebURL& blobURL,
62 const WebKit::WebURL& path, 64 const WebKit::WebURL& path,
63 WebKit::WebFileSystemCallbacks*) OVERRIDE; 65 WebKit::WebFileSystemCallbacks*) OVERRIDE;
64 }; 66 };
65 67
68 } // namespace content
69
66 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_ 70 #endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_IMPL_H_
OLDNEW
« no previous file with comments | « content/common/fileapi/webfilesystem_callback_dispatcher.cc ('k') | content/common/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698