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

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

Issue 732803003: Clean up forward declarations in Source/core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/timing/PerformanceUserTiming.h ('k') | Source/core/workers/WorkerEventQueue.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) 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Google Inc. All rights reserved. 3 * Copyright (C) 2013 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 24 matching lines...) Expand all
35 #include "core/frame/ConsoleTypes.h" 35 #include "core/frame/ConsoleTypes.h"
36 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
37 #include "wtf/PassRefPtr.h" 37 #include "wtf/PassRefPtr.h"
38 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 #include "wtf/text/WTFString.h" 40 #include "wtf/text/WTFString.h"
41 41
42 namespace blink { 42 namespace blink {
43 43
44 class ConsoleMessage; 44 class ConsoleMessage;
45 class ScriptArguments;
46 class WorkerGlobalScope; 45 class WorkerGlobalScope;
47 46
48 class WorkerConsole final : public ConsoleBase { 47 class WorkerConsole final : public ConsoleBase {
49 DEFINE_WRAPPERTYPEINFO(); 48 DEFINE_WRAPPERTYPEINFO();
50 public: 49 public:
51 static PassRefPtrWillBeRawPtr<WorkerConsole> create(WorkerGlobalScope* scope ) 50 static PassRefPtrWillBeRawPtr<WorkerConsole> create(WorkerGlobalScope* scope )
52 { 51 {
53 return adoptRefWillBeNoop(new WorkerConsole(scope)); 52 return adoptRefWillBeNoop(new WorkerConsole(scope));
54 } 53 }
55 virtual ~WorkerConsole(); 54 virtual ~WorkerConsole();
56 55
57 virtual void trace(Visitor*) override; 56 virtual void trace(Visitor*) override;
58 57
59 protected: 58 protected:
60 virtual ExecutionContext* context() override; 59 virtual ExecutionContext* context() override;
61 virtual void reportMessageToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage>) override; 60 virtual void reportMessageToConsole(PassRefPtrWillBeRawPtr<ConsoleMessage>) override;
62 61
63 private: 62 private:
64 explicit WorkerConsole(WorkerGlobalScope*); 63 explicit WorkerConsole(WorkerGlobalScope*);
65 64
66 RawPtrWillBeMember<WorkerGlobalScope> m_scope; 65 RawPtrWillBeMember<WorkerGlobalScope> m_scope;
67 }; 66 };
68 67
69 } // namespace blink 68 } // namespace blink
70 69
71 #endif // WorkerConsole_h 70 #endif // WorkerConsole_h
OLDNEW
« no previous file with comments | « Source/core/timing/PerformanceUserTiming.h ('k') | Source/core/workers/WorkerEventQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698