OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/memory/linked_ptr.h" | 10 #include "base/memory/linked_ptr.h" |
12 #include "chrome/common/extensions/extension.h" | 11 #include "chrome/common/extensions/extension.h" |
13 | 12 |
14 class FilePath; | 13 class FilePath; |
15 class Version; | 14 class Version; |
16 | 15 |
17 // This class is an abstract class for implementing external extensions | 16 // This class is an abstract class for implementing external extensions |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 78 |
80 // Determines if this provider had loaded the list of external extensions | 79 // Determines if this provider had loaded the list of external extensions |
81 // from its source. | 80 // from its source. |
82 virtual bool IsReady() const = 0; | 81 virtual bool IsReady() const = 0; |
83 }; | 82 }; |
84 | 83 |
85 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> > | 84 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> > |
86 ProviderCollection; | 85 ProviderCollection; |
87 | 86 |
88 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ | 87 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ |
OLD | NEW |