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

Side by Side Diff: Source/core/workers/WorkerNavigator.h

Issue 631133003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/workers (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
« no previous file with comments | « Source/core/workers/WorkerMessagingProxy.h ('k') | Source/core/workers/WorkerObjectProxy.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) 2008 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008 Apple 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 20 matching lines...) Expand all
31 #include "core/frame/NavigatorID.h" 31 #include "core/frame/NavigatorID.h"
32 #include "core/frame/NavigatorOnLine.h" 32 #include "core/frame/NavigatorOnLine.h"
33 #include "platform/Supplementable.h" 33 #include "platform/Supplementable.h"
34 #include "platform/heap/Handle.h" 34 #include "platform/heap/Handle.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.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 WorkerNavigator FINAL : public RefCountedWillBeGarbageCollectedFinalized<W orkerNavigator>, public ScriptWrappable, public NavigatorCPU, public NavigatorID , public NavigatorOnLine, public WillBeHeapSupplementable<WorkerNavigator> { 41 class WorkerNavigator final : public RefCountedWillBeGarbageCollectedFinalized<W orkerNavigator>, public ScriptWrappable, public NavigatorCPU, public NavigatorID , public NavigatorOnLine, public WillBeHeapSupplementable<WorkerNavigator> {
42 DEFINE_WRAPPERTYPEINFO(); 42 DEFINE_WRAPPERTYPEINFO();
43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigator); 43 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(WorkerNavigator);
44 public: 44 public:
45 static PassRefPtrWillBeRawPtr<WorkerNavigator> create(const String& userAgen t) 45 static PassRefPtrWillBeRawPtr<WorkerNavigator> create(const String& userAgen t)
46 { 46 {
47 return adoptRefWillBeNoop(new WorkerNavigator(userAgent)); 47 return adoptRefWillBeNoop(new WorkerNavigator(userAgent));
48 } 48 }
49 virtual ~WorkerNavigator(); 49 virtual ~WorkerNavigator();
50 50
51 virtual String userAgent() const OVERRIDE; 51 virtual String userAgent() const override;
52 52
53 void trace(Visitor*); 53 void trace(Visitor*);
54 54
55 private: 55 private:
56 explicit WorkerNavigator(const String&); 56 explicit WorkerNavigator(const String&);
57 57
58 String m_userAgent; 58 String m_userAgent;
59 }; 59 };
60 60
61 } // namespace blink 61 } // namespace blink
62 62
63 #endif // WorkerNavigator_h 63 #endif // WorkerNavigator_h
OLDNEW
« no previous file with comments | « Source/core/workers/WorkerMessagingProxy.h ('k') | Source/core/workers/WorkerObjectProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698