Chromium Code Reviews| 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 | 7 #pragma once |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 73 // if they are not NULL. If an output parameter is not specified by the | 73 // if they are not NULL. If an output parameter is not specified by the |
| 74 // provider type, it will not be changed. | 74 // provider type, it will not be changed. |
| 75 // This function is no longer used outside unit tests. | 75 // This function is no longer used outside unit tests. |
| 76 virtual bool GetExtensionDetails(const std::string& id, | 76 virtual bool GetExtensionDetails(const std::string& id, |
| 77 Extension::Location* location, | 77 Extension::Location* location, |
| 78 scoped_ptr<Version>* version) const = 0; | 78 scoped_ptr<Version>* version) const = 0; |
| 79 | 79 |
| 80 // Determines if this provider had loaded the list of external extensions | 80 // Determines if this provider had loaded the list of external extensions |
| 81 // from its source. | 81 // from its source. |
| 82 virtual bool IsReady() const = 0; | 82 virtual bool IsReady() const = 0; |
| 83 | |
| 84 // The creation flags that the provider passes to | |
| 85 // OnExternalExtensionFileFound. | |
| 86 virtual int creation_flags() const = 0; | |
|
Aaron Boodman
2012/01/15 06:09:18
Virtual methods should not ever use unix_hacker st
Mihai Parparita -not on Chrome
2012/01/17 17:22:55
Done.
| |
| 83 }; | 87 }; |
| 84 | 88 |
| 85 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> > | 89 typedef std::vector<linked_ptr<ExternalExtensionProviderInterface> > |
| 86 ProviderCollection; | 90 ProviderCollection; |
| 87 | 91 |
| 88 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ | 92 #endif // CHROME_BROWSER_EXTENSIONS_EXTERNAL_EXTENSION_PROVIDER_INTERFACE_H_ |
| OLD | NEW |