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

Unified Diff: chrome/browser/browser_process_platform_part_chromeos.h

Issue 1188823002: [MemoryPressure] Move chrome/browser/chromeos/* to chrome/browser/memory/*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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/browser_process_platform_part_chromeos.h
diff --git a/chrome/browser/browser_process_platform_part_chromeos.h b/chrome/browser/browser_process_platform_part_chromeos.h
index 6012af98c7321305d642e27ce6bd475032bdc3dd..d764ec2e1240b61dc52cfc667b5d3f3e3414c310 100644
--- a/chrome/browser/browser_process_platform_part_chromeos.h
+++ b/chrome/browser/browser_process_platform_part_chromeos.h
@@ -16,7 +16,6 @@ class CommandLine;
namespace chromeos {
class ChromeUserManager;
-class OomPriorityManager;
class ProfileHelper;
class TimeZoneResolver;
}
@@ -29,6 +28,10 @@ class DeviceDisablingManagerDefaultDelegate;
}
}
+namespace memory {
+class OomPriorityManager;
+}
+
namespace policy {
class BrowserPolicyConnector;
class BrowserPolicyConnectorChromeOS;
@@ -71,7 +74,7 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
// Returns the out-of-memory priority manager.
// Virtual for testing (see TestingBrowserProcessPlatformPart).
- virtual chromeos::OomPriorityManager* oom_priority_manager();
+ virtual memory::OomPriorityManager* oom_priority_manager();
James Cook 2015/06/17 21:20:23 Not for this CL, but it would be good to rename th
Georges Khalil 2015/06/18 16:43:01 Acknowledged.
// Returns the ProfileHelper instance that is used to identify
// users and their profiles in Chrome OS multi user session.
@@ -107,7 +110,7 @@ class BrowserProcessPlatformPart : public BrowserProcessPlatformPartBase,
bool created_profile_helper_;
scoped_ptr<chromeos::ProfileHelper> profile_helper_;
- scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_;
+ scoped_ptr<memory::OomPriorityManager> oom_priority_manager_;
scoped_ptr<chromeos::system::AutomaticRebootManager>
automatic_reboot_manager_;

Powered by Google App Engine
This is Rietveld 408576698