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

Side by Side Diff: extensions/common/manifest_handler.cc

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
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
« no previous file with comments | « extensions/common/manifest_constants.cc ('k') | extensions/common/manifest_handler_helpers.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "extensions/common/manifest_handler.h" 5 #include "extensions/common/manifest_handler.h"
6 6
7 #include <stddef.h>
8
7 #include <map> 9 #include <map>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "base/stl_util.h" 12 #include "base/stl_util.h"
11 #include "extensions/common/extension.h" 13 #include "extensions/common/extension.h"
12 #include "extensions/common/permissions/manifest_permission.h" 14 #include "extensions/common/permissions/manifest_permission.h"
13 #include "extensions/common/permissions/manifest_permission_set.h" 15 #include "extensions/common/permissions/manifest_permission_set.h"
14 16
15 namespace extensions { 17 namespace extensions {
16 18
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 unsorted_handlers.swap(next_unsorted_handlers); 243 unsorted_handlers.swap(next_unsorted_handlers);
242 } 244 }
243 245
244 // If there are any leftover unsorted handlers, they must have had 246 // If there are any leftover unsorted handlers, they must have had
245 // circular dependencies. 247 // circular dependencies.
246 CHECK_EQ(unsorted_handlers.size(), std::set<ManifestHandler*>::size_type(0)) 248 CHECK_EQ(unsorted_handlers.size(), std::set<ManifestHandler*>::size_type(0))
247 << "Extension manifest handlers have circular dependencies!"; 249 << "Extension manifest handlers have circular dependencies!";
248 } 250 }
249 251
250 } // namespace extensions 252 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_constants.cc ('k') | extensions/common/manifest_handler_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698