OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ | |
6 #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ | |
7 | |
8 namespace base { | |
9 class DictionaryValue; | |
10 } | |
11 | |
12 namespace extensions { | |
13 | |
14 class Extension; | |
15 | |
16 // Fills the |info| dictionary with basic information about the extension. | |
17 // |enabled| is injected for easier testing. | |
18 void GetBasicInfo(const Extension* extension, | |
James Hawkins
2013/06/03 16:43:56
Optional nit: I have a feeling this function name
Yoyo Zhou
2013/06/03 19:35:30
Sure, renamed.
| |
19 bool enabled, | |
20 base::DictionaryValue* info); | |
21 | |
22 } // namespace extensions | |
23 | |
24 #endif // CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_BASIC_INFO_H_ | |
OLD | NEW |