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

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

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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_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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "webkit/browser/fileapi/sandbox_origin_database_interface.h" 11 #include "webkit/browser/fileapi/sandbox_origin_database_interface.h"
12 12
13 namespace fileapi { 13 namespace storage {
14 14
15 class SandboxOriginDatabase; 15 class SandboxOriginDatabase;
16 16
17 // This origin database implementation supports only one origin 17 // This origin database implementation supports only one origin
18 // (therefore is expected to run very fast). 18 // (therefore is expected to run very fast).
19 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE SandboxIsolatedOriginDatabase 19 class WEBKIT_STORAGE_BROWSER_EXPORT_PRIVATE SandboxIsolatedOriginDatabase
20 : public SandboxOriginDatabaseInterface { 20 : public SandboxOriginDatabaseInterface {
21 public: 21 public:
22 static const base::FilePath::CharType kObsoleteOriginDirectory[]; 22 static const base::FilePath::CharType kObsoleteOriginDirectory[];
23 23
(...skipping 25 matching lines...) Expand all
49 void MigrateDatabaseIfNeeded(); 49 void MigrateDatabaseIfNeeded();
50 50
51 bool migration_checked_; 51 bool migration_checked_;
52 const std::string origin_; 52 const std::string origin_;
53 const base::FilePath file_system_directory_; 53 const base::FilePath file_system_directory_;
54 const base::FilePath origin_directory_; 54 const base::FilePath origin_directory_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(SandboxIsolatedOriginDatabase); 56 DISALLOW_COPY_AND_ASSIGN(SandboxIsolatedOriginDatabase);
57 }; 57 };
58 58
59 } // namespace fileapi 59 } // namespace storage
60 60
61 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_ 61 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_ISOLATED_ORIGIN_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698