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

Unified Diff: chrome/browser/task_manager/task_manager_browsertest_util.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
Index: chrome/browser/task_manager/task_manager_browsertest_util.cc
diff --git a/chrome/browser/task_manager/task_manager_browsertest_util.cc b/chrome/browser/task_manager/task_manager_browsertest_util.cc
index c8326bad9416092bad733f59cd431d08e734eae3..4addcb0a518187f449e95b0874de132c27f804cb 100644
--- a/chrome/browser/task_manager/task_manager_browsertest_util.cc
+++ b/chrome/browser/task_manager/task_manager_browsertest_util.cc
@@ -7,6 +7,7 @@
#include "base/location.h"
#include "base/run_loop.h"
#include "base/single_thread_task_runner.h"
+#include "base/strings/pattern.h"
#include "base/strings/string16.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
@@ -89,7 +90,7 @@ class ResourceChangeObserver : public TaskManagerModelObserver {
int CountMatches() {
int match_count = 0;
for (int i = 0; i < model_->ResourceCount(); i++) {
- if (!MatchPattern(model_->GetResourceTitle(i), title_pattern_))
+ if (!base::MatchPattern(model_->GetResourceTitle(i), title_pattern_))
continue;
if (GetColumnValue(i) < min_column_value_)
« no previous file with comments | « chrome/browser/plugins/plugin_prefs.cc ('k') | chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698