OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 | 40 |
41 typedef String ErrorString; | 41 typedef String ErrorString; |
42 | 42 |
43 class CORE_EXPORT InspectorMemoryAgent final : public InspectorBaseAgent<Inspect
orMemoryAgent, InspectorFrontend::Memory>, public InspectorBackendDispatcher::Me
moryCommandHandler { | 43 class CORE_EXPORT InspectorMemoryAgent final : public InspectorBaseAgent<Inspect
orMemoryAgent, InspectorFrontend::Memory>, public InspectorBackendDispatcher::Me
moryCommandHandler { |
44 WTF_MAKE_NONCOPYABLE(InspectorMemoryAgent); | 44 WTF_MAKE_NONCOPYABLE(InspectorMemoryAgent); |
45 public: | 45 public: |
46 static PassOwnPtrWillBeRawPtr<InspectorMemoryAgent> create() | 46 static PassOwnPtrWillBeRawPtr<InspectorMemoryAgent> create() |
47 { | 47 { |
48 return adoptPtrWillBeNoop(new InspectorMemoryAgent()); | 48 return adoptPtrWillBeNoop(new InspectorMemoryAgent()); |
49 } | 49 } |
50 virtual ~InspectorMemoryAgent(); | 50 ~InspectorMemoryAgent() override; |
51 | 51 |
52 virtual void getDOMCounters(ErrorString*, int* documents, int* nodes, int* j
sEventListeners) override; | 52 void getDOMCounters(ErrorString*, int* documents, int* nodes, int* jsEventLi
steners) override; |
53 | 53 |
54 private: | 54 private: |
55 InspectorMemoryAgent(); | 55 InspectorMemoryAgent(); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace blink | 58 } // namespace blink |
59 | 59 |
60 #endif // !defined(InspectorMemoryAgent_h) | 60 #endif // !defined(InspectorMemoryAgent_h) |
OLD | NEW |