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

Unified Diff: chrome/browser/memory/tab_manager_observer.h

Issue 2898033002: [TabManager] Move TabManager into chrome/browser/resource_coordinator. (Closed)
Patch Set: rebase Created 3 years, 7 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/memory/tab_manager_observer.h
diff --git a/chrome/browser/memory/tab_manager_observer.h b/chrome/browser/memory/tab_manager_observer.h
deleted file mode 100644
index 86dbc13f392e8368a127150aaea795eb7b4dbf79..0000000000000000000000000000000000000000
--- a/chrome/browser/memory/tab_manager_observer.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2016 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_MEMORY_TAB_MANAGER_OBSERVER_H_
-#define CHROME_BROWSER_MEMORY_TAB_MANAGER_OBSERVER_H_
-
-namespace content {
-class WebContents;
-}
-
-namespace memory {
-
-// Interface for objects that wish to be notified of changes in TabManager.
-class TabManagerObserver {
- public:
- // Invoked when the Discarded state changes.
- // Sends the WebContents of the tab that had the discarded property changed
- // and the current state to let observers know if it is discarderd or not.
- virtual void OnDiscardedStateChange(content::WebContents* contents,
- bool is_discarded);
-
- // Invoked when the auto-discardable state changes.
- virtual void OnAutoDiscardableStateChange(content::WebContents* contents,
- bool is_auto_discardable);
-
- protected:
- virtual ~TabManagerObserver();
-};
-
-} // namespace memory
-
-#endif // CHROME_BROWSER_MEMORY_TAB_MANAGER_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698