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

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

Issue 83843002: Move ManifestHandlers to extensions/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: s/handler/info Created 7 years 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/extension_set.h" 5 #include "chrome/common/extensions/extension_set.h"
6 6
7 #include "base/callback.h" 7 #include "base/callback.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 #include "chrome/common/extensions/manifest_handlers/sandboxed_page_info.h"
11 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
12 #include "extensions/common/constants.h" 11 #include "extensions/common/constants.h"
13 #include "extensions/common/extension.h" 12 #include "extensions/common/extension.h"
13 #include "extensions/common/manifest_handlers/sandboxed_page_info.h"
14 14
15 using extensions::Extension; 15 using extensions::Extension;
16 16
17 ExtensionSet::const_iterator::const_iterator() {} 17 ExtensionSet::const_iterator::const_iterator() {}
18 18
19 ExtensionSet::const_iterator::const_iterator(const const_iterator& other) 19 ExtensionSet::const_iterator::const_iterator(const const_iterator& other)
20 : it_(other.it_) { 20 : it_(other.it_) {
21 } 21 }
22 22
23 ExtensionSet::const_iterator::const_iterator(ExtensionMap::const_iterator it) 23 ExtensionSet::const_iterator::const_iterator(ExtensionMap::const_iterator it)
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 ExtensionMap::const_iterator i = extensions_.begin(); 139 ExtensionMap::const_iterator i = extensions_.begin();
140 for (; i != extensions_.end(); ++i) { 140 for (; i != extensions_.end(); ++i) {
141 if (i->second->location() == extensions::Manifest::COMPONENT && 141 if (i->second->location() == extensions::Manifest::COMPONENT &&
142 i->second->web_extent().MatchesURL(url)) 142 i->second->web_extent().MatchesURL(url))
143 return true; 143 return true;
144 } 144 }
145 145
146 return false; 146 return false;
147 } 147 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/csp_validator_unittest.cc ('k') | chrome/common/extensions/manifest_handlers/kiosk_mode_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698