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

Side by Side Diff: third_party/WebKit/Source/modules/quota/WorkerNavigatorStorageQuota.h

Issue 1896043002: WorkerNavigator: Remove deprecated Quota Management API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment in IDL. Created 4 years, 8 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 39
40 namespace blink { 40 namespace blink {
41 41
42 class StorageManager; 42 class StorageManager;
43 43
44 class WorkerNavigatorStorageQuota final : public GarbageCollected<WorkerNavigato rStorageQuota>, public Supplement<WorkerNavigator> { 44 class WorkerNavigatorStorageQuota final : public GarbageCollected<WorkerNavigato rStorageQuota>, public Supplement<WorkerNavigator> {
45 USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigatorStorageQuota); 45 USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigatorStorageQuota);
46 public: 46 public:
47 static WorkerNavigatorStorageQuota& from(WorkerNavigator&); 47 static WorkerNavigatorStorageQuota& from(WorkerNavigator&);
48 48
49 static DeprecatedStorageQuota* webkitTemporaryStorage(WorkerNavigator&);
50 static DeprecatedStorageQuota* webkitPersistentStorage(WorkerNavigator&);
51 static StorageManager* storage(WorkerNavigator&); 49 static StorageManager* storage(WorkerNavigator&);
52 50
53 DeprecatedStorageQuota* webkitTemporaryStorage() const;
54 DeprecatedStorageQuota* webkitPersistentStorage() const;
55 StorageManager* storage() const; 51 StorageManager* storage() const;
56 52
57 DECLARE_VIRTUAL_TRACE(); 53 DECLARE_VIRTUAL_TRACE();
58 54
59 private: 55 private:
60 explicit WorkerNavigatorStorageQuota(); 56 explicit WorkerNavigatorStorageQuota();
61 static const char* supplementName(); 57 static const char* supplementName();
62 58
63 mutable Member<DeprecatedStorageQuota> m_temporaryStorage;
64 mutable Member<DeprecatedStorageQuota> m_persistentStorage;
65 mutable Member<StorageManager> m_storageManager; 59 mutable Member<StorageManager> m_storageManager;
66 }; 60 };
67 61
68 } // namespace blink 62 } // namespace blink
69 63
70 #endif // WorkerNavigatorStorageQuota_h 64 #endif // WorkerNavigatorStorageQuota_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698