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

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

Issue 2005783005: Re-enable storage for Suborigins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_local_storage_helper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 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_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <list> 11 #include <list>
12 #include <map>
12 #include <set> 13 #include <set>
13 14
14 #include "base/callback.h" 15 #include "base/callback.h"
15 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
16 #include "base/macros.h" 17 #include "base/macros.h"
17 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
18 #include "base/time/time.h" 19 #include "base/time/time.h"
19 #include "content/public/browser/dom_storage_context.h" 20 #include "content/public/browser/dom_storage_context.h"
20 #include "url/gurl.h" 21 #include "url/gurl.h"
21 22
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const std::set<GURL>& GetLocalStorageInfo() const; 86 const std::set<GURL>& GetLocalStorageInfo() const;
86 87
87 // BrowsingDataLocalStorageHelper implementation. 88 // BrowsingDataLocalStorageHelper implementation.
88 void StartFetching(const FetchCallback& callback) override; 89 void StartFetching(const FetchCallback& callback) override;
89 void DeleteOrigin(const GURL& origin) override; 90 void DeleteOrigin(const GURL& origin) override;
90 91
91 private: 92 private:
92 ~CannedBrowsingDataLocalStorageHelper() override; 93 ~CannedBrowsingDataLocalStorageHelper() override;
93 94
94 std::set<GURL> pending_local_storage_info_; 95 std::set<GURL> pending_local_storage_info_;
96 std::multimap<GURL, GURL> pending_origins_to_pending_suborigins_;
95 97
96 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper); 98 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper);
97 }; 99 };
98 100
99 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ 101 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_local_storage_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698