Index: components/framelet/browser/framelet_memory_tracker_client.h |
diff --git a/components/framelet/browser/framelet_memory_tracker_client.h b/components/framelet/browser/framelet_memory_tracker_client.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fdd3edbb3fffbc2d036a6129742a89f8e7a769de |
--- /dev/null |
+++ b/components/framelet/browser/framelet_memory_tracker_client.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef COMPONENTS_FRAMELET_BROWSER_FRAMELET_MEMORY_TRACKER_CLIENT_H_ |
+#define COMPONENTS_FRAMELET_BROWSER_FRAMELET_MEMORY_TRACKER_CLIENT_H_ |
+ |
+namespace framelet { |
+ |
+class FrameletMemoryTrackerClient { |
+ public: |
+ // TODO(fsamuel): Define the right API here. |
+ virtual void ReportHeapSize(int heap_size) = 0; |
+ |
+ protected: |
+ virtual ~FrameletMemoryTrackerClient() {} |
+}; |
+ |
+} // namespace framelet |
+ |
+#endif // COMPONENTS_FRAMELET_BROWSER_FRAMELET_MEMORY_TRACKER_CLIENT_H_ |