OLD | NEW |
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_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ | 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ | 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ |
7 | 7 |
8 #include "webkit/browser/fileapi/sandbox_origin_database_interface.h" | 8 #include "webkit/browser/fileapi/sandbox_origin_database_interface.h" |
9 | 9 |
10 namespace fileapi { | 10 namespace fileapi { |
11 | 11 |
12 class WEBKIT_STORAGE_EXPORT_PRIVATE SandboxIsolatedOriginDatabase | 12 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE SandboxIsolatedOriginDatabase |
13 : public SandboxOriginDatabaseInterface { | 13 : public SandboxOriginDatabaseInterface { |
14 public: | 14 public: |
15 static const base::FilePath::CharType kOriginDirectory[]; | 15 static const base::FilePath::CharType kOriginDirectory[]; |
16 | 16 |
17 explicit SandboxIsolatedOriginDatabase( | 17 explicit SandboxIsolatedOriginDatabase( |
18 const std::string& origin, | 18 const std::string& origin, |
19 const base::FilePath& file_system_directory); | 19 const base::FilePath& file_system_directory); |
20 virtual ~SandboxIsolatedOriginDatabase(); | 20 virtual ~SandboxIsolatedOriginDatabase(); |
21 | 21 |
22 // SandboxOriginDatabaseInterface overrides. | 22 // SandboxOriginDatabaseInterface overrides. |
(...skipping 10 matching lines...) Expand all Loading... |
33 bool migration_checked_; | 33 bool migration_checked_; |
34 const std::string origin_; | 34 const std::string origin_; |
35 const base::FilePath file_system_directory_; | 35 const base::FilePath file_system_directory_; |
36 | 36 |
37 DISALLOW_COPY_AND_ASSIGN(SandboxIsolatedOriginDatabase); | 37 DISALLOW_COPY_AND_ASSIGN(SandboxIsolatedOriginDatabase); |
38 }; | 38 }; |
39 | 39 |
40 } // namespace fileapi | 40 } // namespace fileapi |
41 | 41 |
42 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ | 42 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ |
OLD | NEW |