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

Unified Diff: chrome/common/extensions/user_script.cc

Issue 173463: Update of the extension install UI: (Closed)
Patch Set: mpcompelte comments Created 11 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/user_script.cc
diff --git a/chrome/common/extensions/user_script.cc b/chrome/common/extensions/user_script.cc
index 22fa510d6b64a5e128306ef0863abdaee84907b5..df34e529114551555287fd7cffd219ee65df13fb 100644
--- a/chrome/common/extensions/user_script.cc
+++ b/chrome/common/extensions/user_script.cc
@@ -14,7 +14,7 @@ bool UserScript::MatchesUrl(const GURL& url) const {
return true;
}
- for (std::vector<URLPattern>::const_iterator pattern = url_patterns_.begin();
+ for (PatternList::const_iterator pattern = url_patterns_.begin();
pattern != url_patterns_.end(); ++pattern) {
if (pattern->MatchesUrl(url))
return true;
@@ -52,7 +52,7 @@ void UserScript::Pickle(::Pickle* pickle) const {
// Write url patterns.
pickle->WriteSize(url_patterns_.size());
- for (std::vector<URLPattern>::const_iterator pattern = url_patterns_.begin();
+ for (PatternList::const_iterator pattern = url_patterns_.begin();
pattern != url_patterns_.end(); ++pattern) {
pickle->WriteString(pattern->GetAsString());
}

Powered by Google App Engine
This is Rietveld 408576698