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

Side by Side Diff: Source/bindings/core/v8/WorkerScriptDebugServer.h

Issue 638813002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/bindings (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) 2011 Google Inc. All rights reserved. 2 * Copyright (c) 2011 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 20 matching lines...) Expand all
31 #ifndef WorkerScriptDebugServer_h 31 #ifndef WorkerScriptDebugServer_h
32 #define WorkerScriptDebugServer_h 32 #define WorkerScriptDebugServer_h
33 33
34 #include "bindings/core/v8/ScriptDebugServer.h" 34 #include "bindings/core/v8/ScriptDebugServer.h"
35 #include <v8.h> 35 #include <v8.h>
36 36
37 namespace blink { 37 namespace blink {
38 38
39 class WorkerGlobalScope; 39 class WorkerGlobalScope;
40 40
41 class WorkerScriptDebugServer FINAL : public ScriptDebugServer { 41 class WorkerScriptDebugServer final : public ScriptDebugServer {
42 WTF_MAKE_NONCOPYABLE(WorkerScriptDebugServer); 42 WTF_MAKE_NONCOPYABLE(WorkerScriptDebugServer);
43 public: 43 public:
44 explicit WorkerScriptDebugServer(WorkerGlobalScope*); 44 explicit WorkerScriptDebugServer(WorkerGlobalScope*);
45 virtual ~WorkerScriptDebugServer() { } 45 virtual ~WorkerScriptDebugServer() { }
46 46
47 void addListener(ScriptDebugListener*); 47 void addListener(ScriptDebugListener*);
48 void removeListener(ScriptDebugListener*); 48 void removeListener(ScriptDebugListener*);
49 49
50 void interruptAndRunTask(PassOwnPtr<Task>); 50 void interruptAndRunTask(PassOwnPtr<Task>);
51 51
52 private: 52 private:
53 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) OVERRIDE; 53 virtual ScriptDebugListener* getDebugListenerForContext(v8::Handle<v8::Conte xt>) override;
54 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) OVERRIDE; 54 virtual void runMessageLoopOnPause(v8::Handle<v8::Context>) override;
55 virtual void quitMessageLoopOnPause() OVERRIDE; 55 virtual void quitMessageLoopOnPause() override;
56 56
57 typedef HashMap<WorkerGlobalScope*, ScriptDebugListener*> ListenersMap; 57 typedef HashMap<WorkerGlobalScope*, ScriptDebugListener*> ListenersMap;
58 ScriptDebugListener* m_listener; 58 ScriptDebugListener* m_listener;
59 WorkerGlobalScope* m_workerGlobalScope; 59 WorkerGlobalScope* m_workerGlobalScope;
60 }; 60 };
61 61
62 } // namespace blink 62 } // namespace blink
63 63
64 #endif // WorkerScriptDebugServer_h 64 #endif // WorkerScriptDebugServer_h
OLDNEW
« no previous file with comments | « Source/bindings/core/v8/WorkerScriptController.cpp ('k') | Source/bindings/core/v8/custom/V8ArrayBufferCustom.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698