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

Side by Side Diff: chrome/common/extensions/command.h

Issue 10387224: Rename ExtensionCommand* to Command* within the extension namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/command.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_COMMON_EXTENSIONS_EXTENSION_COMMANDS_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_COMMAND_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_COMMANDS_H_ 6 #define CHROME_COMMON_EXTENSIONS_COMMAND_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <map> 10 #include <map>
11 11
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "ui/base/accelerators/accelerator.h" 13 #include "ui/base/accelerators/accelerator.h"
14 14
15 namespace base { 15 namespace base {
16 class DictionaryValue; 16 class DictionaryValue;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 std::string command_name_; 55 std::string command_name_;
56 ui::Accelerator accelerator_; 56 ui::Accelerator accelerator_;
57 string16 description_; 57 string16 description_;
58 }; 58 };
59 59
60 // A mapping of command name (std::string) to a command object. 60 // A mapping of command name (std::string) to a command object.
61 typedef std::map<std::string, Command> CommandMap; 61 typedef std::map<std::string, Command> CommandMap;
62 62
63 } // namespace extensions 63 } // namespace extensions
64 64
65 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_COMMANDS_H_ 65 #endif // CHROME_COMMON_EXTENSIONS_COMMAND_H_
OLDNEW
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/extensions/command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698