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

Side by Side Diff: webkit/browser/fileapi/plugin_private_file_system_backend.h

Issue 137923003: Change fileapi namespace to content for files that are moved under content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 6 years, 11 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 WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_
6 #define WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ 6 #define WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "webkit/browser/fileapi/file_system_backend.h" 13 #include "webkit/browser/fileapi/file_system_backend.h"
14 #include "webkit/browser/fileapi/file_system_options.h" 14 #include "webkit/browser/fileapi/file_system_options.h"
15 #include "webkit/browser/fileapi/file_system_quota_util.h" 15 #include "webkit/browser/fileapi/file_system_quota_util.h"
16 16
17 namespace base { 17 namespace base {
18 class SequencedTaskRunner; 18 class SequencedTaskRunner;
19 } 19 }
20 20
21 namespace content {
22 class PluginPrivateFileSystemBackendTest;
23 }
24
21 namespace quota { 25 namespace quota {
22 class SpecialStoragePolicy; 26 class SpecialStoragePolicy;
23 } 27 }
24 28
25 namespace fileapi { 29 namespace fileapi {
26 30
27 class ObfuscatedFileUtil; 31 class ObfuscatedFileUtil;
28 32
29 class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend 33 class WEBKIT_STORAGE_BROWSER_EXPORT PluginPrivateFileSystemBackend
30 : public FileSystemBackend, 34 : public FileSystemBackend,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 FileAccessObserver* observer, 119 FileAccessObserver* observer,
116 base::SequencedTaskRunner* task_runner) OVERRIDE; 120 base::SequencedTaskRunner* task_runner) OVERRIDE;
117 virtual const UpdateObserverList* GetUpdateObservers( 121 virtual const UpdateObserverList* GetUpdateObservers(
118 FileSystemType type) const OVERRIDE; 122 FileSystemType type) const OVERRIDE;
119 virtual const ChangeObserverList* GetChangeObservers( 123 virtual const ChangeObserverList* GetChangeObservers(
120 FileSystemType type) const OVERRIDE; 124 FileSystemType type) const OVERRIDE;
121 virtual const AccessObserverList* GetAccessObservers( 125 virtual const AccessObserverList* GetAccessObservers(
122 FileSystemType type) const OVERRIDE; 126 FileSystemType type) const OVERRIDE;
123 127
124 private: 128 private:
125 friend class PluginPrivateFileSystemBackendTest; 129 friend class content::PluginPrivateFileSystemBackendTest;
126 130
127 ObfuscatedFileUtil* obfuscated_file_util(); 131 ObfuscatedFileUtil* obfuscated_file_util();
128 const base::FilePath& base_path() const { return base_path_; } 132 const base::FilePath& base_path() const { return base_path_; }
129 133
130 scoped_refptr<base::SequencedTaskRunner> file_task_runner_; 134 scoped_refptr<base::SequencedTaskRunner> file_task_runner_;
131 const FileSystemOptions file_system_options_; 135 const FileSystemOptions file_system_options_;
132 const base::FilePath base_path_; 136 const base::FilePath base_path_;
133 scoped_ptr<AsyncFileUtil> file_util_; 137 scoped_ptr<AsyncFileUtil> file_util_;
134 FileSystemIDToPluginMap* plugin_map_; // Owned by file_util_. 138 FileSystemIDToPluginMap* plugin_map_; // Owned by file_util_.
135 base::WeakPtrFactory<PluginPrivateFileSystemBackend> weak_factory_; 139 base::WeakPtrFactory<PluginPrivateFileSystemBackend> weak_factory_;
136 140
137 DISALLOW_COPY_AND_ASSIGN(PluginPrivateFileSystemBackend); 141 DISALLOW_COPY_AND_ASSIGN(PluginPrivateFileSystemBackend);
138 }; 142 };
139 143
140 } // namespace fileapi 144 } // namespace fileapi
141 145
142 #endif // WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_ 146 #endif // WEBKIT_BROWSER_FILEAPI_PLUGIN_PRIVATE_FILE_SYSTEM_BACKEND_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/obfuscated_file_util.h ('k') | webkit/browser/fileapi/sandbox_file_system_backend_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698