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

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

Issue 462613002: Cleanup namespace usage in Source/web/[A-V]*.h (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressing comments Created 6 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
« no previous file with comments | « Source/web/StorageClientImpl.h ('k') | Source/web/TextFinder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 18 matching lines...) Expand all
29 */ 29 */
30 30
31 #ifndef StorageQuotaClientImpl_h 31 #ifndef StorageQuotaClientImpl_h
32 #define StorageQuotaClientImpl_h 32 #define StorageQuotaClientImpl_h
33 33
34 #include "modules/quota/StorageQuotaClient.h" 34 #include "modules/quota/StorageQuotaClient.h"
35 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class StorageQuotaClientImpl : public NoBaseWillBeGarbageCollectedFinalized<Stor ageQuotaClientImpl>, public blink::StorageQuotaClient { 39 class StorageQuotaClientImpl : public NoBaseWillBeGarbageCollectedFinalized<Stor ageQuotaClientImpl>, public StorageQuotaClient {
40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StorageQuotaClientImpl); 40 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StorageQuotaClientImpl);
41 public: 41 public:
42 static PassOwnPtrWillBeRawPtr<StorageQuotaClientImpl> create(); 42 static PassOwnPtrWillBeRawPtr<StorageQuotaClientImpl> create();
43 43
44 virtual ~StorageQuotaClientImpl(); 44 virtual ~StorageQuotaClientImpl();
45 45
46 virtual void requestQuota(blink::ExecutionContext*, WebStorageQuotaType, uns igned long long newQuotaInBytes, PassOwnPtr<blink::StorageQuotaCallback>, PassOw nPtr<blink::StorageErrorCallback>) OVERRIDE; 46 virtual void requestQuota(ExecutionContext*, WebStorageQuotaType, unsigned l ong long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback>, PassOwnPtr<StorageEr rorCallback>) OVERRIDE;
47 virtual blink::ScriptPromise requestPersistentQuota(blink::ScriptState*, uns igned long long newQuotaInBytes) OVERRIDE; 47 virtual ScriptPromise requestPersistentQuota(ScriptState*, unsigned long lon g newQuotaInBytes) OVERRIDE;
48 48
49 virtual void trace(blink::Visitor* visitor) OVERRIDE { blink::StorageQuotaCl ient::trace(visitor); } 49 virtual void trace(Visitor* visitor) OVERRIDE { StorageQuotaClient::trace(vi sitor); }
50 50
51 private: 51 private:
52 StorageQuotaClientImpl(); 52 StorageQuotaClientImpl();
53 }; 53 };
54 54
55 } // namespace blink 55 } // namespace blink
56 56
57 #endif // StorageQuotaClientImpl_h 57 #endif // StorageQuotaClientImpl_h
OLDNEW
« no previous file with comments | « Source/web/StorageClientImpl.h ('k') | Source/web/TextFinder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698