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

Side by Side Diff: storage/browser/quota/quota_manager.h

Issue 624063003: Replacing the OVERRIDE with override and FINAL with final in storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the error Created 6 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 | « storage/browser/fileapi/transient_file_util.h ('k') | storage/browser/quota/quota_manager.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 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 STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ 5 #ifndef STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_
6 #define STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ 6 #define STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
351 351
352 void ReportHistogram(); 352 void ReportHistogram();
353 void DidGetTemporaryGlobalUsageForHistogram(int64 usage, 353 void DidGetTemporaryGlobalUsageForHistogram(int64 usage,
354 int64 unlimited_usage); 354 int64 unlimited_usage);
355 void DidGetPersistentGlobalUsageForHistogram(int64 usage, 355 void DidGetPersistentGlobalUsageForHistogram(int64 usage,
356 int64 unlimited_usage); 356 int64 unlimited_usage);
357 357
358 // QuotaEvictionHandler. 358 // QuotaEvictionHandler.
359 virtual void GetLRUOrigin( 359 virtual void GetLRUOrigin(
360 StorageType type, 360 StorageType type,
361 const GetLRUOriginCallback& callback) OVERRIDE; 361 const GetLRUOriginCallback& callback) override;
362 virtual void EvictOriginData( 362 virtual void EvictOriginData(
363 const GURL& origin, 363 const GURL& origin,
364 StorageType type, 364 StorageType type,
365 const EvictOriginDataCallback& callback) OVERRIDE; 365 const EvictOriginDataCallback& callback) override;
366 virtual void GetUsageAndQuotaForEviction( 366 virtual void GetUsageAndQuotaForEviction(
367 const UsageAndQuotaCallback& callback) OVERRIDE; 367 const UsageAndQuotaCallback& callback) override;
368 368
369 void DidSetTemporaryGlobalOverrideQuota(const QuotaCallback& callback, 369 void DidSetTemporaryGlobalOverrideQuota(const QuotaCallback& callback,
370 const int64* new_quota, 370 const int64* new_quota,
371 bool success); 371 bool success);
372 void DidGetPersistentHostQuota(const std::string& host, 372 void DidGetPersistentHostQuota(const std::string& host,
373 const int64* quota, 373 const int64* quota,
374 bool success); 374 bool success);
375 void DidSetPersistentHostQuota(const std::string& host, 375 void DidSetPersistentHostQuota(const std::string& host,
376 const QuotaCallback& callback, 376 const QuotaCallback& callback,
377 const int64* new_quota, 377 const int64* new_quota,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 struct QuotaManagerDeleter { 452 struct QuotaManagerDeleter {
453 static void Destruct(const QuotaManager* manager) { 453 static void Destruct(const QuotaManager* manager) {
454 manager->DeleteOnCorrectThread(); 454 manager->DeleteOnCorrectThread();
455 } 455 }
456 }; 456 };
457 457
458 } // namespace storage 458 } // namespace storage
459 459
460 #endif // STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_ 460 #endif // STORAGE_BROWSER_QUOTA_QUOTA_MANAGER_H_
OLDNEW
« no previous file with comments | « storage/browser/fileapi/transient_file_util.h ('k') | storage/browser/quota/quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698