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

Unified Diff: chrome/browser/ui/webui/memory_internals/memory_internals_handler.h

Issue 1722493002: Project Eraser: Kill chrome://memory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix chrome_browser_ui.gypi. Created 4 years, 9 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/memory_internals/memory_internals_handler.h
diff --git a/chrome/browser/ui/webui/memory_internals/memory_internals_handler.h b/chrome/browser/ui/webui/memory_internals/memory_internals_handler.h
deleted file mode 100644
index 9324998f7fe0b138047e05b5704455da93140124..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/memory_internals/memory_internals_handler.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 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 CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_HANDLER_H_
-#define CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_HANDLER_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "content/public/browser/web_ui_message_handler.h"
-
-namespace base {
-class ListValue;
-}
-
-class MemoryInternalsProxy;
-
-// This class handles messages to and from MemoryInternalsUI.
-// It does all its work on the IO thread through the proxy below.
-class MemoryInternalsHandler : public content::WebUIMessageHandler {
- public:
- MemoryInternalsHandler();
- ~MemoryInternalsHandler() override;
-
- void RegisterMessages() override;
-
- // JavaScript message handlers.
- void OnJSUpdate(const base::ListValue* list);
-
- // MemoryInternals message handlers.
- void OnUpdate(const base::string16& update);
-
- private:
- scoped_refptr<MemoryInternalsProxy> proxy_;
-
- DISALLOW_COPY_AND_ASSIGN(MemoryInternalsHandler);
-};
-
-#endif // CHROME_BROWSER_UI_WEBUI_MEMORY_INTERNALS_MEMORY_INTERNALS_HANDLER_H_
« no previous file with comments | « chrome/browser/ui/webui/memory_internals/OWNERS ('k') | chrome/browser/ui/webui/memory_internals/memory_internals_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698