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

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: Addressed code review feedback. Created 8 years, 10 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) 2011 The Chromium Authors. All rights reserved.
markusheintz_ 2012/02/16 10:02:57 nit: s/2011/2012
ericu 2012/02/22 00:00:51 Done.
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 26 matching lines...) Expand all
38 const std::string& protocol, 38 const std::string& protocol,
39 const std::string& host, 39 const std::string& host,
40 unsigned short port, 40 unsigned short port,
41 const std::string& database_identifier, 41 const std::string& database_identifier,
42 const std::string& origin, 42 const std::string& origin,
43 const FilePath& file_path, 43 const FilePath& file_path,
44 int64 size, 44 int64 size,
45 base::Time last_modified); 45 base::Time last_modified);
46 ~LocalStorageInfo(); 46 ~LocalStorageInfo();
47 47
48 bool IsFileSchemeData() {
49 return protocol == chrome::kFileScheme;
50 }
51
52 std::string protocol; 48 std::string protocol;
53 std::string host; 49 std::string host;
54 unsigned short port; 50 unsigned short port;
55 std::string database_identifier; 51 std::string database_identifier;
56 std::string origin; 52 std::string origin;
57 FilePath file_path; 53 FilePath file_path;
58 int64 size; 54 int64 size;
59 base::Time last_modified; 55 base::Time last_modified;
60 }; 56 };
61 57
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 139
144 // May mutate on WEBKIT and UI threads. 140 // May mutate on WEBKIT and UI threads.
145 std::set<GURL> pending_local_storage_info_; 141 std::set<GURL> pending_local_storage_info_;
146 142
147 Profile* profile_; 143 Profile* profile_;
148 144
149 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper); 145 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper);
150 }; 146 };
151 147
152 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ 148 #endif // CHROME_BROWSER_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698