| OLD | NEW |
| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class CORE_EXPORT InspectorTimelineAgent final | 43 class CORE_EXPORT InspectorTimelineAgent final |
| 44 : public InspectorBaseAgent<InspectorTimelineAgent, InspectorFrontend::Timel
ine> | 44 : public InspectorBaseAgent<InspectorTimelineAgent, InspectorFrontend::Timel
ine> |
| 45 , public InspectorBackendDispatcher::TimelineCommandHandler { | 45 , public InspectorBackendDispatcher::TimelineCommandHandler { |
| 46 WTF_MAKE_NONCOPYABLE(InspectorTimelineAgent); | 46 WTF_MAKE_NONCOPYABLE(InspectorTimelineAgent); |
| 47 public: | 47 public: |
| 48 static PassOwnPtrWillBeRawPtr<InspectorTimelineAgent> create() | 48 static PassOwnPtrWillBeRawPtr<InspectorTimelineAgent> create() |
| 49 { | 49 { |
| 50 return adoptPtrWillBeNoop(new InspectorTimelineAgent()); | 50 return adoptPtrWillBeNoop(new InspectorTimelineAgent()); |
| 51 } | 51 } |
| 52 | 52 |
| 53 virtual ~InspectorTimelineAgent(); | 53 ~InspectorTimelineAgent() override; |
| 54 | 54 |
| 55 virtual void enable(ErrorString*) override; | 55 void enable(ErrorString*) override; |
| 56 virtual void disable(ErrorString*) override; | 56 void disable(ErrorString*) override; |
| 57 virtual void start(ErrorString*, const int* maxCallStackDepth, const bool* b
ufferEvents, const String* liveEvents, const bool* includeCounters, const bool*
includeGPUEvents) override; | 57 void start(ErrorString*, const int* maxCallStackDepth, const bool* bufferEve
nts, const String* liveEvents, const bool* includeCounters, const bool* includeG
PUEvents) override; |
| 58 virtual void stop(ErrorString*) override; | 58 void stop(ErrorString*) override; |
| 59 | 59 |
| 60 private: | 60 private: |
| 61 InspectorTimelineAgent(); | 61 InspectorTimelineAgent(); |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace blink | 64 } // namespace blink |
| 65 | 65 |
| 66 #endif // !defined(InspectorTimelineAgent_h) | 66 #endif // !defined(InspectorTimelineAgent_h) |
| OLD | NEW |