| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <list> | 9 #include <list> |
| 10 #include <set> | 10 #include <set> |
| 11 #include <string> | 11 #include <string> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 42 const std::string& protocol, | 42 const std::string& protocol, |
| 43 const std::string& host, | 43 const std::string& host, |
| 44 unsigned short port, | 44 unsigned short port, |
| 45 const std::string& database_identifier, | 45 const std::string& database_identifier, |
| 46 const std::string& origin, | 46 const std::string& origin, |
| 47 const FilePath& file_path, | 47 const FilePath& file_path, |
| 48 int64 size, | 48 int64 size, |
| 49 base::Time last_modified); | 49 base::Time last_modified); |
| 50 ~LocalStorageInfo(); | 50 ~LocalStorageInfo(); |
| 51 | 51 |
| 52 bool IsFileSchemeData() { | |
| 53 return protocol == chrome::kFileScheme; | |
| 54 } | |
| 55 | |
| 56 std::string protocol; | 52 std::string protocol; |
| 57 std::string host; | 53 std::string host; |
| 58 unsigned short port; | 54 unsigned short port; |
| 59 std::string database_identifier; | 55 std::string database_identifier; |
| 60 std::string origin; | 56 std::string origin; |
| 61 FilePath file_path; | 57 FilePath file_path; |
| 62 int64 size; | 58 int64 size; |
| 63 base::Time last_modified; | 59 base::Time last_modified; |
| 64 }; | 60 }; |
| 65 | 61 |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 void ConvertPendingInfo(); | 140 void ConvertPendingInfo(); |
| 145 | 141 |
| 146 std::set<GURL> pending_local_storage_info_; | 142 std::set<GURL> pending_local_storage_info_; |
| 147 | 143 |
| 148 Profile* profile_; | 144 Profile* profile_; |
| 149 | 145 |
| 150 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper); | 146 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper); |
| 151 }; | 147 }; |
| 152 | 148 |
| 153 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ | 149 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ |
| OLD | NEW |