| 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_ORIGIN_DATABASE_INTERFACE_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_SANDBOX_ORIGIN_DATABASE_INTERFACE_H_ |
| 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_ORIGIN_DATABASE_INTERFACE_H_ | 6 #define STORAGE_BROWSER_FILEAPI_SANDBOX_ORIGIN_DATABASE_INTERFACE_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "webkit/browser/storage_browser_export.h" | 12 #include "storage/browser/storage_browser_export.h" |
| 13 | 13 |
| 14 namespace storage { | 14 namespace storage { |
| 15 | 15 |
| 16 class STORAGE_EXPORT_PRIVATE SandboxOriginDatabaseInterface { | 16 class STORAGE_EXPORT_PRIVATE SandboxOriginDatabaseInterface { |
| 17 public: | 17 public: |
| 18 struct STORAGE_EXPORT_PRIVATE OriginRecord { | 18 struct STORAGE_EXPORT_PRIVATE OriginRecord { |
| 19 std::string origin; | 19 std::string origin; |
| 20 base::FilePath path; | 20 base::FilePath path; |
| 21 | 21 |
| 22 OriginRecord(); | 22 OriginRecord(); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 45 | 45 |
| 46 // This will release all database resources in use; call it to save memory. | 46 // This will release all database resources in use; call it to save memory. |
| 47 virtual void DropDatabase() = 0; | 47 virtual void DropDatabase() = 0; |
| 48 | 48 |
| 49 protected: | 49 protected: |
| 50 SandboxOriginDatabaseInterface() {} | 50 SandboxOriginDatabaseInterface() {} |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 } // namespace storage | 53 } // namespace storage |
| 54 | 54 |
| 55 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_ORIGIN_DATABASE_INTERFACE_H_ | 55 #endif // STORAGE_BROWSER_FILEAPI_SANDBOX_ORIGIN_DATABASE_INTERFACE_H_ |
| OLD | NEW |