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

Side by Side Diff: chrome/common/extensions/chrome_manifest_url_handlers.cc

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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/chrome_manifest_url_handlers.h" 5 #include "chrome/common/extensions/chrome_manifest_url_handlers.h"
6 6
7 #include "base/lazy_instance.h" 7 #include "base/lazy_instance.h"
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "build/build_config.h"
13 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
15 #include "extensions/common/error_utils.h" 16 #include "extensions/common/error_utils.h"
16 #include "extensions/common/manifest.h" 17 #include "extensions/common/manifest.h"
17 #include "extensions/common/manifest_constants.h" 18 #include "extensions/common/manifest_constants.h"
18 #include "extensions/common/manifest_handlers/permissions_parser.h" 19 #include "extensions/common/manifest_handlers/permissions_parser.h"
19 #include "extensions/common/manifest_handlers/shared_module_info.h" 20 #include "extensions/common/manifest_handlers/shared_module_info.h"
20 #include "extensions/common/manifest_url_handlers.h" 21 #include "extensions/common/manifest_url_handlers.h"
21 #include "extensions/common/permissions/api_permission.h" 22 #include "extensions/common/permissions/api_permission.h"
22 23
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 extension->SetManifestData(keys::kChromeURLOverrides, 144 extension->SetManifestData(keys::kChromeURLOverrides,
144 url_overrides.release()); 145 url_overrides.release());
145 return true; 146 return true;
146 } 147 }
147 148
148 const std::vector<std::string> URLOverridesHandler::Keys() const { 149 const std::vector<std::string> URLOverridesHandler::Keys() const {
149 return SingleKey(keys::kChromeURLOverrides); 150 return SingleKey(keys::kChromeURLOverrides);
150 } 151 }
151 152
152 } // namespace extensions 153 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/chrome_manifest_url_handlers.h ('k') | chrome/common/extensions/chrome_utility_extensions_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698