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 27 matching lines...) Expand all Loading... |
38 namespace blink { | 38 namespace blink { |
39 | 39 |
40 class CORE_EXPORT InspectorMemoryAgent final | 40 class CORE_EXPORT InspectorMemoryAgent final |
41 : public InspectorBaseAgent<protocol::Memory::Metainfo> { | 41 : public InspectorBaseAgent<protocol::Memory::Metainfo> { |
42 WTF_MAKE_NONCOPYABLE(InspectorMemoryAgent); | 42 WTF_MAKE_NONCOPYABLE(InspectorMemoryAgent); |
43 | 43 |
44 public: | 44 public: |
45 static InspectorMemoryAgent* create() { return new InspectorMemoryAgent(); } | 45 static InspectorMemoryAgent* create() { return new InspectorMemoryAgent(); } |
46 ~InspectorMemoryAgent() override; | 46 ~InspectorMemoryAgent() override; |
47 | 47 |
48 void getDOMCounters(ErrorString*, | 48 Response getDOMCounters(int* documents, |
49 int* documents, | 49 int* nodes, |
50 int* nodes, | 50 int* jsEventListeners) override; |
51 int* jsEventListeners) override; | |
52 | 51 |
53 private: | 52 private: |
54 InspectorMemoryAgent(); | 53 InspectorMemoryAgent(); |
55 }; | 54 }; |
56 | 55 |
57 } // namespace blink | 56 } // namespace blink |
58 | 57 |
59 #endif // !defined(InspectorMemoryAgent_h) | 58 #endif // !defined(InspectorMemoryAgent_h) |
OLD | NEW |