1 // Copyright (c) 2015 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_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_
10 #include "ash/networking_config_delegate.h"
11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h"
13 #include "content/public/browser/browser_context.h"
17 // A class which allows the ash tray to retrieve extension provided networking
18 // configuration through the networking config service.
19 class NetworkingConfigDelegateChromeos
: public ash::NetworkingConfigDelegate
{
21 NetworkingConfigDelegateChromeos();
22 ~NetworkingConfigDelegateChromeos() override
;
24 scoped_ptr
<const ExtensionInfo
> LookUpExtensionForNetwork(
25 const std::string
& service_path
) override
;
28 std::string
LookUpExtensionName(content::BrowserContext
* context
,
29 std::string extension_id
) const;
31 DISALLOW_COPY_AND_ASSIGN(NetworkingConfigDelegateChromeos
);
34 } // namespace chromeos
36 #endif // CHROME_BROWSER_UI_ASH_NETWORKING_CONFIG_DELEGATE_CHROMEOS_H_