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

Unified Diff: extensions/common/manifest_handlers/webview_info.cc

Issue 1226673003: Move MatchPattern to its own header and the base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « device/serial/serial_device_enumerator_mac.cc ('k') | extensions/common/manifest_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/manifest_handlers/webview_info.cc
diff --git a/extensions/common/manifest_handlers/webview_info.cc b/extensions/common/manifest_handlers/webview_info.cc
index 99e9d40c5de90a112d6c500d6d2f71bc5a011622..50400023bd82021b7edb639a1fc2406c06861e3d 100644
--- a/extensions/common/manifest_handlers/webview_info.cc
+++ b/extensions/common/manifest_handlers/webview_info.cc
@@ -5,6 +5,7 @@
#include "extensions/common/manifest_handlers/webview_info.h"
#include "base/memory/scoped_ptr.h"
+#include "base/strings/pattern.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -30,7 +31,7 @@ class PartitionItem {
}
bool Matches(const std::string& partition_id) const {
- return MatchPattern(partition_id, partition_pattern_);
+ return base::MatchPattern(partition_id, partition_pattern_);
}
// Adds a pattern to the set. Returns true if a new pattern was inserted,
« no previous file with comments | « device/serial/serial_device_enumerator_mac.cc ('k') | extensions/common/manifest_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698