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

Side by Side Diff: chrome/test/base/testing_browser_process_platform_part.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: Addressed sky@ comments. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
6 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_ 6 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
7 7
8 #include "chrome/browser/browser_process_platform_part.h" 8 #include "chrome/browser/browser_process_platform_part.h"
9 9
10 // A TestingBrowserProcessPlatformPart is essentially a 10 // A TestingBrowserProcessPlatformPart is essentially a
11 // BrowserProcessPlatformPart except it doesn't have an OomPriorityManager on 11 // BrowserProcessPlatformPart except it doesn't have an OomPriorityManager on
12 // Chrome OS. 12 // Chrome OS.
13 class TestingBrowserProcessPlatformPart : public BrowserProcessPlatformPart { 13 class TestingBrowserProcessPlatformPart : public BrowserProcessPlatformPart {
14 public: 14 public:
15 TestingBrowserProcessPlatformPart(); 15 TestingBrowserProcessPlatformPart();
16 ~TestingBrowserProcessPlatformPart() override; 16 ~TestingBrowserProcessPlatformPart() override;
17 17
18 #if defined(OS_CHROMEOS) 18 #if defined(OS_CHROMEOS)
19 // Overridden from BrowserProcessPlatformPart: 19 // Overridden from BrowserProcessPlatformPart:
20 chromeos::OomPriorityManager* oom_priority_manager() override; 20 memory::OomPriorityManager* oom_priority_manager() override;
21 #endif 21 #endif
22 22
23 private: 23 private:
24 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessPlatformPart); 24 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessPlatformPart);
25 }; 25 };
26 26
27 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_ 27 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('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