Merge html-office-public repo into src
[chromium-blink-merge.git] / chrome / test / base / testing_browser_process_platform_part.h
blobd53b4425afe263cb4735e0d7d8c63a0b2f2870bd
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
3 // found in the LICENSE file.
5 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
6 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_
8 #include "chrome/browser/browser_process_platform_part.h"
10 // A TestingBrowserProcessPlatformPart is essentially a
11 // BrowserProcessPlatformPart except it doesn't have an OomPriorityManager on
12 // Chrome OS.
13 class TestingBrowserProcessPlatformPart : public BrowserProcessPlatformPart {
14 public:
15 TestingBrowserProcessPlatformPart();
16 ~TestingBrowserProcessPlatformPart() override;
18 #if defined(OS_CHROMEOS)
19 // Overridden from BrowserProcessPlatformPart:
20 virtual chromeos::OomPriorityManager* oom_priority_manager() override;
21 #endif
23 private:
24 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessPlatformPart);
27 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_PLATFORM_PART_H_