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

Side by Side Diff: chrome/common/extensions/manifest_handlers/ui_overrides_handler.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 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/manifest_handlers/ui_overrides_handler.h" 5 #include "chrome/common/extensions/manifest_handlers/ui_overrides_handler.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/common/extensions/extension_messages.h"
12 #include "extensions/common/error_utils.h" 11 #include "extensions/common/error_utils.h"
12 #include "extensions/common/extension_messages.h"
13 #include "extensions/common/feature_switch.h" 13 #include "extensions/common/feature_switch.h"
14 #include "extensions/common/manifest_constants.h" 14 #include "extensions/common/manifest_constants.h"
15 #include "extensions/common/permissions/manifest_permission.h" 15 #include "extensions/common/permissions/manifest_permission.h"
16 #include "extensions/common/permissions/permissions_data.h" 16 #include "extensions/common/permissions/permissions_data.h"
17 #include "extensions/common/permissions/permissions_info.h" 17 #include "extensions/common/permissions/permissions_info.h"
18 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
19 #include "ipc/ipc_message.h" 19 #include "ipc/ipc_message.h"
20 #include "ui/base/l10n/l10n_util.h" 20 #include "ui/base/l10n/l10n_util.h"
21 21
22 using extensions::api::manifest_types::ChromeUIOverrides; 22 using extensions::api::manifest_types::ChromeUIOverrides;
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 const UIOverrides* data = UIOverrides::Get(extension); 204 const UIOverrides* data = UIOverrides::Get(extension);
205 if (data) 205 if (data)
206 return data->manifest_permission->Clone(); 206 return data->manifest_permission->Clone();
207 return NULL; 207 return NULL;
208 } 208 }
209 const std::vector<std::string> UIOverridesHandler::Keys() const { 209 const std::vector<std::string> UIOverridesHandler::Keys() const {
210 return SingleKey(manifest_keys::kUIOverride); 210 return SingleKey(manifest_keys::kUIOverride);
211 } 211 }
212 212
213 } // namespace extensions 213 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698