OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ |
6 #define EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ | 6 #define EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "extensions/common/manifest.h" | 11 #include "extensions/common/manifest.h" |
12 | 12 |
13 class GURL; | |
14 | |
15 namespace base { | 13 namespace base { |
16 class Version; | 14 class Version; |
17 } | 15 } |
18 | 16 |
19 namespace extensions { | 17 namespace extensions { |
20 | 18 |
21 struct ExternalInstallInfoFile; | 19 struct ExternalInstallInfoFile; |
22 struct ExternalInstallInfoUpdateUrl; | 20 struct ExternalInstallInfoUpdateUrl; |
23 | 21 |
24 // This class is an abstract class for implementing external extensions | 22 // This class is an abstract class for implementing external extensions |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // from its source. | 95 // from its source. |
98 virtual bool IsReady() const = 0; | 96 virtual bool IsReady() const = 0; |
99 }; | 97 }; |
100 | 98 |
101 using ProviderCollection = | 99 using ProviderCollection = |
102 std::vector<std::unique_ptr<ExternalProviderInterface>>; | 100 std::vector<std::unique_ptr<ExternalProviderInterface>>; |
103 | 101 |
104 } // namespace extensions | 102 } // namespace extensions |
105 | 103 |
106 #endif // EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ | 104 #endif // EXTENSIONS_BROWSER_EXTERNAL_PROVIDER_INTERFACE_H_ |
OLD | NEW |