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

Unified Diff: chrome/browser/resource_coordinator/tab_manager_web_contents_data.cc

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/resource_coordinator/tab_manager_web_contents_data.cc
diff --git a/chrome/browser/memory/tab_manager_web_contents_data.cc b/chrome/browser/resource_coordinator/tab_manager_web_contents_data.cc
similarity index 96%
rename from chrome/browser/memory/tab_manager_web_contents_data.cc
rename to chrome/browser/resource_coordinator/tab_manager_web_contents_data.cc
index 1fd82e9245fa420d4d729dc6dac8dda5078ae048..af91c398ac0163e9f1f4f1a940b81e12767f7434 100644
--- a/chrome/browser/memory/tab_manager_web_contents_data.cc
+++ b/chrome/browser/resource_coordinator/tab_manager_web_contents_data.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/memory/tab_manager_web_contents_data.h"
+#include "chrome/browser/resource_coordinator/tab_manager_web_contents_data.h"
#include "base/metrics/histogram_macros.h"
#include "base/time/tick_clock.h"
@@ -15,9 +15,10 @@
using base::TimeTicks;
using content::WebContents;
-DEFINE_WEB_CONTENTS_USER_DATA_KEY(memory::TabManager::WebContentsData);
+DEFINE_WEB_CONTENTS_USER_DATA_KEY(
+ resource_coordinator::TabManager::WebContentsData);
-namespace memory {
+namespace resource_coordinator {
TabManager::WebContentsData::WebContentsData(content::WebContents* web_contents)
: WebContentsObserver(web_contents),
@@ -201,4 +202,4 @@ bool TabManager::WebContentsData::IsAutoDiscardable() {
return tab_data_.is_auto_discardable;
}
-} // namespace memory
+} // namespace resource_coordinator

Powered by Google App Engine
This is Rietveld 408576698