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

Side by Side Diff: third_party/WebKit/Source/web/StorageQuotaClientImpl.h

Issue 2656343002: Replace [CallWith=ExecutionContext] with [CallWith=ScriptState] (Closed)
Patch Set: Few more Created 3 years, 10 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 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 30 matching lines...) Expand all
41 public StorageQuotaClient { 41 public StorageQuotaClient {
42 USING_GARBAGE_COLLECTED_MIXIN(StorageQuotaClientImpl); 42 USING_GARBAGE_COLLECTED_MIXIN(StorageQuotaClientImpl);
43 43
44 public: 44 public:
45 static StorageQuotaClientImpl* create() { 45 static StorageQuotaClientImpl* create() {
46 return new StorageQuotaClientImpl(); 46 return new StorageQuotaClientImpl();
47 } 47 }
48 48
49 ~StorageQuotaClientImpl() override; 49 ~StorageQuotaClientImpl() override;
50 50
51 void requestQuota(ExecutionContext*, 51 void requestQuota(ScriptState*,
52 WebStorageQuotaType, 52 WebStorageQuotaType,
53 unsigned long long newQuotaInBytes, 53 unsigned long long newQuotaInBytes,
54 StorageQuotaCallback*, 54 StorageQuotaCallback*,
55 StorageErrorCallback*) override; 55 StorageErrorCallback*) override;
56 ScriptPromise requestPersistentQuota( 56 ScriptPromise requestPersistentQuota(
57 ScriptState*, 57 ScriptState*,
58 unsigned long long newQuotaInBytes) override; 58 unsigned long long newQuotaInBytes) override;
59 59
60 DEFINE_INLINE_VIRTUAL_TRACE() { StorageQuotaClient::trace(visitor); } 60 DEFINE_INLINE_VIRTUAL_TRACE() { StorageQuotaClient::trace(visitor); }
61 61
62 private: 62 private:
63 StorageQuotaClientImpl(); 63 StorageQuotaClientImpl();
64 }; 64 };
65 65
66 } // namespace blink 66 } // namespace blink
67 67
68 #endif // StorageQuotaClientImpl_h 68 #endif // StorageQuotaClientImpl_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/speech/SpeechGrammar.idl ('k') | third_party/WebKit/Source/web/StorageQuotaClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698