OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 ASH_COMMON_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ | 5 #ifndef ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ |
6 #define ASH_COMMON_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ | 6 #define ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "ash/ash_export.h" | 11 #include "ash/ash_export.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 | 15 |
16 // This delegate allows the UI code in ash, e.g. |NetworkStateListDetailedView|, | 16 // This delegate allows the UI code in ash, e.g. |NetworkStateListDetailedView|, |
(...skipping 20 matching lines...) Expand all Loading... |
37 // of the network |guid|. Returns null if no extension is registered. | 37 // of the network |guid|. Returns null if no extension is registered. |
38 virtual std::unique_ptr<const ExtensionInfo> LookUpExtensionForNetwork( | 38 virtual std::unique_ptr<const ExtensionInfo> LookUpExtensionForNetwork( |
39 const std::string& guid) = 0; | 39 const std::string& guid) = 0; |
40 | 40 |
41 private: | 41 private: |
42 DISALLOW_ASSIGN(NetworkingConfigDelegate); | 42 DISALLOW_ASSIGN(NetworkingConfigDelegate); |
43 }; | 43 }; |
44 | 44 |
45 } // namespace ash | 45 } // namespace ash |
46 | 46 |
47 #endif // ASH_COMMON_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ | 47 #endif // ASH_SYSTEM_NETWORKING_CONFIG_DELEGATE_H_ |
OLD | NEW |