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

Side by Side Diff: webkit/glue/webfileutilities_impl.h

Issue 8741006: Add exports needed for glue to build as a component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase to r112585 Created 9 years 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 | « webkit/glue/webdropdata.h ('k') | webkit/glue/webkit_glue.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) 2010 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef WEBFILEUTILITIES_IMPL_H_ 5 #ifndef WEBFILEUTILITIES_IMPL_H_
6 #define WEBFILEUTILITIES_IMPL_H_ 6 #define WEBFILEUTILITIES_IMPL_H_
7 7
8 #include "base/platform_file.h" 8 #include "base/platform_file.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileUtilities.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileUtilities.h"
10 #include "webkit/glue/webkit_glue_export.h"
10 11
11 namespace webkit_glue { 12 namespace webkit_glue {
12 13
13 class WebFileUtilitiesImpl : public WebKit::WebFileUtilities { 14 class WEBKIT_GLUE_EXPORT WebFileUtilitiesImpl :
15 NON_EXPORTED_BASE(public WebKit::WebFileUtilities) {
14 public: 16 public:
15 WebFileUtilitiesImpl(); 17 WebFileUtilitiesImpl();
16 virtual ~WebFileUtilitiesImpl(); 18 virtual ~WebFileUtilitiesImpl();
17 19
18 // WebFileUtilities methods: 20 // WebFileUtilities methods:
19 virtual void revealFolderInOS(const WebKit::WebString& path); 21 virtual void revealFolderInOS(const WebKit::WebString& path);
20 virtual bool fileExists(const WebKit::WebString& path); 22 virtual bool fileExists(const WebKit::WebString& path);
21 virtual bool deleteFile(const WebKit::WebString& path); 23 virtual bool deleteFile(const WebKit::WebString& path);
22 virtual bool deleteEmptyDirectory(const WebKit::WebString& path); 24 virtual bool deleteEmptyDirectory(const WebKit::WebString& path);
23 virtual bool getFileSize(const WebKit::WebString& path, long long& result); 25 virtual bool getFileSize(const WebKit::WebString& path, long long& result);
(...skipping 22 matching lines...) Expand all
46 sandbox_enabled_ = sandbox_enabled; 48 sandbox_enabled_ = sandbox_enabled;
47 } 49 }
48 50
49 protected: 51 protected:
50 bool sandbox_enabled_; 52 bool sandbox_enabled_;
51 }; 53 };
52 54
53 } // namespace webkit_glue 55 } // namespace webkit_glue
54 56
55 #endif // WEBFILEUTILITIES_IMPL_H_ 57 #endif // WEBFILEUTILITIES_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/glue/webdropdata.h ('k') | webkit/glue/webkit_glue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698