Infobar material design refresh: layout
[chromium-blink-merge.git] / chrome / browser / ui / ash / networking_config_delegate_chromeos.h
blob1e71a0624d7493fd8b3ca0a942115a628a889dfe
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_
8 #include <string>
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"
15 namespace chromeos {
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 {
20 public:
21 NetworkingConfigDelegateChromeos();
22 ~NetworkingConfigDelegateChromeos() override;
24 scoped_ptr<const ExtensionInfo> LookUpExtensionForNetwork(
25 const std::string& service_path) override;
27 private:
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_