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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.h

Issue 2467933002: [DevTools] migrate InspectorPageAgent and InspectorMemoryAgent to new style (Closed)
Patch Set: rebased Created 4 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 | « no previous file | third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp » ('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) 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
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)
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/inspector/InspectorMemoryAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698