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

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

Issue 634893002: Replace OVERRIDE and FINAL with override and final in WebKit/public (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
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 24 matching lines...) Expand all
35 #include "wtf/Forward.h" 35 #include "wtf/Forward.h"
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class ExecutionContext; 39 class ExecutionContext;
40 class WebFrame; 40 class WebFrame;
41 class WebPermissionCallbacks; 41 class WebPermissionCallbacks;
42 class WebString; 42 class WebString;
43 class WebWorkerPermissionClientProxy; 43 class WebWorkerPermissionClientProxy;
44 44
45 class WorkerPermissionClient FINAL : public NoBaseWillBeGarbageCollectedFinalize d<WorkerPermissionClient>, public WillBeHeapSupplement<WorkerClients> { 45 class WorkerPermissionClient final : public NoBaseWillBeGarbageCollectedFinalize d<WorkerPermissionClient>, public WillBeHeapSupplement<WorkerClients> {
46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerPermissionClient); 46 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerPermissionClient);
47 public: 47 public:
48 static PassOwnPtrWillBeRawPtr<WorkerPermissionClient> create(PassOwnPtr<WebW orkerPermissionClientProxy>); 48 static PassOwnPtrWillBeRawPtr<WorkerPermissionClient> create(PassOwnPtr<WebW orkerPermissionClientProxy>);
49 virtual ~WorkerPermissionClient(); 49 virtual ~WorkerPermissionClient();
50 50
51 bool requestFileSystemAccessSync(); 51 bool requestFileSystemAccessSync();
52 bool allowIndexedDB(const WebString& name); 52 bool allowIndexedDB(const WebString& name);
53 53
54 static const char* supplementName(); 54 static const char* supplementName();
55 static WorkerPermissionClient* from(ExecutionContext&); 55 static WorkerPermissionClient* from(ExecutionContext&);
56 56
57 virtual void trace(Visitor* visitor) OVERRIDE { WillBeHeapSupplement<WorkerC lients>::trace(visitor); } 57 virtual void trace(Visitor* visitor) override { WillBeHeapSupplement<WorkerC lients>::trace(visitor); }
58 58
59 private: 59 private:
60 explicit WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy>); 60 explicit WorkerPermissionClient(PassOwnPtr<WebWorkerPermissionClientProxy>);
61 61
62 OwnPtr<WebWorkerPermissionClientProxy> m_proxy; 62 OwnPtr<WebWorkerPermissionClientProxy> m_proxy;
63 }; 63 };
64 64
65 void providePermissionClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerPermiss ionClientProxy>); 65 void providePermissionClientToWorker(WorkerClients*, PassOwnPtr<WebWorkerPermiss ionClientProxy>);
66 66
67 } // namespace blink 67 } // namespace blink
68 68
69 #endif // WorkerPermissionClient_h 69 #endif // WorkerPermissionClient_h
OLDNEW
« no previous file with comments | « Source/web/WorkerGlobalScopeProxyProviderImpl.h ('k') | Source/web/tests/ActivityLoggerTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698