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

Side by Side Diff: chrome/browser/browsing_data_local_storage_helper.h

Issue 7811006: Add full support for filesystem URLs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge errors Created 8 years, 8 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 (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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_indexed_db_helper.h ('k') | chrome/browser/extensions/api/web_request/web_request_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698