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

Unified Diff: chrome/test/base/testing_browser_process_platform_part.h

Issue 14951007: Refactor BrowserProcessPlatformPart. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios? Created 7 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/test/base/testing_browser_process_platform_part.h
diff --git a/chrome/test/base/testing_browser_process_platform_part.h b/chrome/test/base/testing_browser_process_platform_part.h
index f7114ab3d319a045f592bbc94f30930152d45e65..60d74c7103de20af4ee7231e650ead8aa6b1e613 100644
--- a/chrome/test/base/testing_browser_process_platform_part.h
+++ b/chrome/test/base/testing_browser_process_platform_part.h
@@ -5,17 +5,21 @@
#ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
#define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
-#if defined(OS_WIN) && defined(USE_AURA)
-#include "chrome/browser/browser_process_platform_part_aurawin.h"
-#else
#include "chrome/browser/browser_process_platform_part.h"
-#endif
+// A TestingBrowserProcessPlatformPart is essentially a
+// BrowserProcessPlatformPart except it doesn't have an OomPriorityManager on
+// Chrome OS.
class TestingBrowserProcessPlatformPart : public BrowserProcessPlatformPart {
public:
TestingBrowserProcessPlatformPart();
virtual ~TestingBrowserProcessPlatformPart();
+#if defined(OS_CHROMEOS)
+ // Overridden from BrowserProcessPlatformPart:
+ virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE;
+#endif
+
private:
DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessPlatformPart);
};
« no previous file with comments | « chrome/test/base/testing_browser_process.cc ('k') | chrome/test/base/testing_browser_process_platform_part.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698