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

Unified Diff: chrome/browser/extensions/content_verifier_browsertest.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change Created 4 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/browser/extensions/content_verifier_browsertest.cc
diff --git a/chrome/browser/extensions/content_verifier_browsertest.cc b/chrome/browser/extensions/content_verifier_browsertest.cc
index d51c3c92360059d8f60d1430858ad7ed566e7560..f688dd4712708f4c9b1023b3580a2c2482d06acc 100644
--- a/chrome/browser/extensions/content_verifier_browsertest.cc
+++ b/chrome/browser/extensions/content_verifier_browsertest.cc
@@ -30,7 +30,7 @@ class UnloadObserver : public ExtensionRegistryObserver {
~UnloadObserver() override {}
void WaitForUnload(const ExtensionId& id) {
- if (ContainsKey(observed_, id))
+ if (base::ContainsKey(observed_, id))
return;
ASSERT_TRUE(loop_runner_.get() == NULL);
@@ -362,7 +362,7 @@ IN_PROC_BROWSER_TEST_F(ContentVerifierTest, DotSlashPaths) {
// The content scripts might fail verification the first time since the
// one-time processing might not be finished yet - if that's the case then
// we want to wait until that work is done.
- if (!ContainsKey(verifier_observer.completed_fetches(), id))
+ if (!base::ContainsKey(verifier_observer.completed_fetches(), id))
verifier_observer.WaitForFetchComplete(id);
// Now disable/re-enable the extension to cause the content scripts to be
@@ -393,7 +393,7 @@ IN_PROC_BROWSER_TEST_F(ContentVerifierTest, ContentScripts) {
ASSERT_EQ(extension->id(), id);
// Wait for the content verification code to finish processing the hashes.
- if (!ContainsKey(verifier_observer.completed_fetches(), id))
+ if (!base::ContainsKey(verifier_observer.completed_fetches(), id))
verifier_observer.WaitForFetchComplete(id);
// Now disable the extension, since content scripts are read at enable time,
« no previous file with comments | « chrome/browser/extensions/component_migration_helper.cc ('k') | chrome/browser/extensions/extension_action.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698