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

Unified Diff: ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc

Issue 2230123003: ios: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
diff --git a/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc b/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
index 364f76d52e04ad1f8ca4b4457cd6ff96aa45a7f6..ce6bf8059bb6fda5f3f8f786c28c08abe86ded20 100644
--- a/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
+++ b/ios/chrome/browser/browser_state/chrome_browser_state_io_data.cc
@@ -268,7 +268,7 @@ net::URLRequestContext* ChromeBrowserStateIOData::GetIsolatedAppRequestContext(
const base::FilePath& partition_path) const {
DCHECK(initialized_);
AppRequestContext* context = nullptr;
- if (ContainsKey(app_request_context_map_, partition_path)) {
+ if (base::ContainsKey(app_request_context_map_, partition_path)) {
context = app_request_context_map_[partition_path];
} else {
context = AcquireIsolatedAppRequestContext(main_context);
@@ -281,7 +281,7 @@ net::URLRequestContext* ChromeBrowserStateIOData::GetIsolatedAppRequestContext(
void ChromeBrowserStateIOData::SetCookieStoreForPartitionPath(
std::unique_ptr<net::CookieStore> cookie_store,
const base::FilePath& partition_path) {
- DCHECK(ContainsKey(app_request_context_map_, partition_path));
+ DCHECK(base::ContainsKey(app_request_context_map_, partition_path));
app_request_context_map_[partition_path]->SetCookieStore(
std::move(cookie_store));
}
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698