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

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

Issue 60393005: Revert 232631 - Revert 232499 "Move ManifestHandler to top-level extensions." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deps 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
« no previous file with comments | « extensions/common/manifest_handler.h ('k') | extensions/common/manifest_handler_unittest.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 "chrome/common/extensions/manifest_handler.h" 5 #include "extensions/common/manifest_handler.h"
6 6
7 #include <map> 7 #include <map>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "chrome/common/extensions/extension.h" 11 #include "chrome/common/extensions/extension.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 namespace { 15 namespace {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 unsorted_handlers.swap(next_unsorted_handlers); 196 unsorted_handlers.swap(next_unsorted_handlers);
197 } 197 }
198 198
199 // If there are any leftover unsorted handlers, they must have had 199 // If there are any leftover unsorted handlers, they must have had
200 // circular dependencies. 200 // circular dependencies.
201 CHECK(unsorted_handlers.size() == 0) << "Extension manifest handlers have " 201 CHECK(unsorted_handlers.size() == 0) << "Extension manifest handlers have "
202 << "circular dependencies!"; 202 << "circular dependencies!";
203 } 203 }
204 204
205 } // namespace extensions 205 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/manifest_handler.h ('k') | extensions/common/manifest_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698