OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_FRAMELET_BROWSER_FRAMELET_MEMORY_TRACKER_CLIENT_H_ |
| 6 #define COMPONENTS_FRAMELET_BROWSER_FRAMELET_MEMORY_TRACKER_CLIENT_H_ |
| 7 |
| 8 namespace framelet { |
| 9 |
| 10 class FrameletMemoryTrackerClient { |
| 11 public: |
| 12 // TODO(fsamuel): Define the right API here. |
| 13 virtual void ReportHeapSize(int heap_size) = 0; |
| 14 |
| 15 protected: |
| 16 virtual ~FrameletMemoryTrackerClient() {} |
| 17 }; |
| 18 |
| 19 } // namespace framelet |
| 20 |
| 21 #endif // COMPONENTS_FRAMELET_BROWSER_FRAMELET_MEMORY_TRACKER_CLIENT_H_ |
OLD | NEW |