Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: chrome/browser/ui/webui/extensions/extension_basic_info.h

Issue 16248002: Move Extension::GetBasicInfo to a static helper. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698