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

Side by Side Diff: Source/core/inspector/InspectorHistory.h

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 22 matching lines...) Expand all
33 33
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/RefPtr.h" 35 #include "wtf/RefPtr.h"
36 #include "wtf/Vector.h" 36 #include "wtf/Vector.h"
37 #include "wtf/text/WTFString.h" 37 #include "wtf/text/WTFString.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class ExceptionState; 41 class ExceptionState;
42 42
43 class InspectorHistory FINAL : public NoBaseWillBeGarbageCollected<InspectorHist ory> { 43 class InspectorHistory final : public NoBaseWillBeGarbageCollected<InspectorHist ory> {
44 WTF_MAKE_NONCOPYABLE(InspectorHistory); 44 WTF_MAKE_NONCOPYABLE(InspectorHistory);
45 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 45 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
46 public: 46 public:
47 class Action : public RefCountedWillBeGarbageCollectedFinalized<Action> { 47 class Action : public RefCountedWillBeGarbageCollectedFinalized<Action> {
48 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 48 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
49 public: 49 public:
50 explicit Action(const String& name); 50 explicit Action(const String& name);
51 virtual ~Action(); 51 virtual ~Action();
52 virtual void trace(Visitor*); 52 virtual void trace(Visitor*);
53 virtual String toString(); 53 virtual String toString();
(...skipping 23 matching lines...) Expand all
77 77
78 private: 78 private:
79 WillBeHeapVector<RefPtrWillBeMember<Action> > m_history; 79 WillBeHeapVector<RefPtrWillBeMember<Action> > m_history;
80 size_t m_afterLastActionIndex; 80 size_t m_afterLastActionIndex;
81 }; 81 };
82 82
83 83
84 } // namespace blink 84 } // namespace blink
85 85
86 #endif // !defined(InspectorHistory_h) 86 #endif // !defined(InspectorHistory_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorHeapProfilerAgent.cpp ('k') | Source/core/inspector/InspectorHistory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698