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

Side by Side Diff: content/browser/dom_storage/dom_storage_area.h

Issue 1136123006: Tweak DOMStorageArea rate limit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ 5 #ifndef CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_
6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ 6 #define CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 scoped_refptr<DOMStorageTaskRunner> task_runner_; 168 scoped_refptr<DOMStorageTaskRunner> task_runner_;
169 scoped_refptr<DOMStorageMap> map_; 169 scoped_refptr<DOMStorageMap> map_;
170 scoped_ptr<DOMStorageDatabaseAdapter> backing_; 170 scoped_ptr<DOMStorageDatabaseAdapter> backing_;
171 scoped_refptr<SessionStorageDatabase> session_storage_backing_; 171 scoped_refptr<SessionStorageDatabase> session_storage_backing_;
172 bool is_initial_import_done_; 172 bool is_initial_import_done_;
173 bool is_shutdown_; 173 bool is_shutdown_;
174 scoped_ptr<CommitBatch> commit_batch_; 174 scoped_ptr<CommitBatch> commit_batch_;
175 int commit_batches_in_flight_; 175 int commit_batches_in_flight_;
176 base::TimeTicks start_time_; 176 base::TimeTicks start_time_;
177 RateLimiter data_rate_limiter_; 177 RateLimiter data_rate_limiter_;
178 RateLimiter commit_rate_limiter_;
179 178
180 DISALLOW_COPY_AND_ASSIGN(DOMStorageArea); 179 DISALLOW_COPY_AND_ASSIGN(DOMStorageArea);
181 }; 180 };
182 181
183 } // namespace content 182 } // namespace content
184 183
185 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_ 184 #endif // CONTENT_BROWSER_DOM_STORAGE_DOM_STORAGE_AREA_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/dom_storage/dom_storage_area.cc » ('j') | content/browser/dom_storage/dom_storage_area.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698