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

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

Issue 22297005: Move webkit/{browser,common}/dom_storage into content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« 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 <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 #include <vector> 10 #include <vector>
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 void CallCompletionCallback(); 56 void CallCompletionCallback();
57 57
58 content::DOMStorageContext* dom_storage_context_; // Owned by the profile 58 content::DOMStorageContext* dom_storage_context_; // Owned by the profile
59 base::Callback<void(const std::list<LocalStorageInfo>&)> completion_callback_; 59 base::Callback<void(const std::list<LocalStorageInfo>&)> completion_callback_;
60 bool is_fetching_; 60 bool is_fetching_;
61 std::list<LocalStorageInfo> local_storage_info_; 61 std::list<LocalStorageInfo> local_storage_info_;
62 62
63 private: 63 private:
64 void GetUsageInfoCallback( 64 void GetUsageInfoCallback(
65 const std::vector<dom_storage::LocalStorageUsageInfo>& infos); 65 const std::vector<content::LocalStorageUsageInfo>& infos);
66 66
67 DISALLOW_COPY_AND_ASSIGN(BrowsingDataLocalStorageHelper); 67 DISALLOW_COPY_AND_ASSIGN(BrowsingDataLocalStorageHelper);
68 }; 68 };
69 69
70 // This class is a thin wrapper around BrowsingDataLocalStorageHelper that does 70 // This class is a thin wrapper around BrowsingDataLocalStorageHelper that does
71 // not fetch its information from the local storage tracker, but gets them 71 // not fetch its information from the local storage tracker, but gets them
72 // passed as a parameter during construction. 72 // passed as a parameter during construction.
73 class CannedBrowsingDataLocalStorageHelper 73 class CannedBrowsingDataLocalStorageHelper
74 : public BrowsingDataLocalStorageHelper { 74 : public BrowsingDataLocalStorageHelper {
75 public: 75 public:
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void ConvertPendingInfo(); 108 void ConvertPendingInfo();
109 109
110 std::set<GURL> pending_local_storage_info_; 110 std::set<GURL> pending_local_storage_info_;
111 111
112 Profile* profile_; 112 Profile* profile_;
113 113
114 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper); 114 DISALLOW_COPY_AND_ASSIGN(CannedBrowsingDataLocalStorageHelper);
115 }; 115 };
116 116
117 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_LOCAL_STORAGE_HELPER_H_ 117 #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