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

Side by Side Diff: chrome/common/extensions/api/input_ime/input_components_handler.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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
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 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" 5 #include "chrome/common/extensions/api/input_ime/input_components_handler.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string_number_conversions.h" 8 #include "base/strings/string_number_conversions.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/utf_string_conversions.h" 10 #include "base/strings/utf_string_conversions.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "chrome/common/extensions/extension.h"
13 #include "chrome/common/extensions/manifest_url_handler.h" 12 #include "chrome/common/extensions/manifest_url_handler.h"
14 #include "extensions/common/error_utils.h" 13 #include "extensions/common/error_utils.h"
14 #include "extensions/common/extension.h"
15 #include "extensions/common/manifest.h" 15 #include "extensions/common/manifest.h"
16 #include "extensions/common/manifest_constants.h" 16 #include "extensions/common/manifest_constants.h"
17 17
18 namespace extensions { 18 namespace extensions {
19 19
20 namespace keys = manifest_keys; 20 namespace keys = manifest_keys;
21 namespace errors = manifest_errors; 21 namespace errors = manifest_errors;
22 22
23 InputComponentInfo::InputComponentInfo() 23 InputComponentInfo::InputComponentInfo()
24 : type(INPUT_COMPONENT_TYPE_NONE), 24 : type(INPUT_COMPONENT_TYPE_NONE),
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 const std::vector<std::string> 217 const std::vector<std::string>
218 InputComponentsHandler::PrerequisiteKeys() const { 218 InputComponentsHandler::PrerequisiteKeys() const {
219 return SingleKey(keys::kOptionsPage); 219 return SingleKey(keys::kOptionsPage);
220 } 220 }
221 221
222 const std::vector<std::string> InputComponentsHandler::Keys() const { 222 const std::vector<std::string> InputComponentsHandler::Keys() const {
223 return SingleKey(keys::kInputComponents); 223 return SingleKey(keys::kInputComponents);
224 } 224 }
225 225
226 } // namespace extensions 226 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698