1 // Copyright 2014 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_BROWSER_CHROMEOS_DBUS_CHROME_CONSOLE_SERVICE_PROVIDER_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_DBUS_CHROME_CONSOLE_SERVICE_PROVIDER_DELEGATE_H_
8 #include "chromeos/dbus/services/console_service_provider.h"
12 // Chrome's implementation of ConsoleServiceProvider::Delegate
13 class ChromeConsoleServiceProviderDelegate
14 : public ConsoleServiceProvider::Delegate
{
16 ChromeConsoleServiceProviderDelegate();
17 ~ChromeConsoleServiceProviderDelegate() override
;
19 // ConsoleServiceProvider::Delegate overrides:
20 void TakeDisplayOwnership(const UpdateOwnershipCallback
& callback
) override
;
21 void ReleaseDisplayOwnership(
22 const UpdateOwnershipCallback
& callback
) override
;
25 DISALLOW_COPY_AND_ASSIGN(ChromeConsoleServiceProviderDelegate
);
28 } // namespace chromeos
30 #endif // CHROME_BROWSER_CHROMEOS_DBUS_CHROME_CONSOLE_SERVICE_PROVIDER_DELEGATE_H_