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

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

Issue 2511683002: Remove unneeded stringprintf.h usage in chrome/ and net/ (Closed)
Patch Set: rebase Created 4 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
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/settings_overrides_handler. h" 5 #include "chrome/common/extensions/manifest_handlers/settings_overrides_handler. h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/stringprintf.h"
12 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 12 #include "base/values.h"
14 #include "extensions/common/error_utils.h" 13 #include "extensions/common/error_utils.h"
15 #include "extensions/common/extension_set.h" 14 #include "extensions/common/extension_set.h"
16 #include "extensions/common/feature_switch.h" 15 #include "extensions/common/feature_switch.h"
17 #include "extensions/common/manifest_constants.h" 16 #include "extensions/common/manifest_constants.h"
18 #include "extensions/common/manifest_handlers/permissions_parser.h" 17 #include "extensions/common/manifest_handlers/permissions_parser.h"
19 #include "extensions/common/permissions/api_permission_set.h" 18 #include "extensions/common/permissions/api_permission_set.h"
20 #include "extensions/common/permissions/manifest_permission.h" 19 #include "extensions/common/permissions/manifest_permission.h"
21 #include "extensions/common/permissions/permissions_info.h" 20 #include "extensions/common/permissions/permissions_info.h"
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 extension->SetManifestData(manifest_keys::kSettingsOverride, 177 extension->SetManifestData(manifest_keys::kSettingsOverride,
179 info.release()); 178 info.release());
180 return true; 179 return true;
181 } 180 }
182 181
183 const std::vector<std::string> SettingsOverridesHandler::Keys() const { 182 const std::vector<std::string> SettingsOverridesHandler::Keys() const {
184 return SingleKey(manifest_keys::kSettingsOverride); 183 return SingleKey(manifest_keys::kSettingsOverride);
185 } 184 }
186 185
187 } // namespace extensions 186 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698