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

Unified Diff: content/browser/browser_context.cc

Issue 1284403002: Fixing variable name typo ('Parition' -> Partition). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fixTypo01
Patch Set: Addressing reviewer's comments. Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index 25ffaf2d835cb527c2b10d10cb43f773d4283433..be99f67344e5de7c3a97fbda167b05e56a1c6627 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -36,7 +36,7 @@ namespace {
// Key names on BrowserContext.
const char kDownloadManagerKeyName[] = "download_manager";
-const char kStorageParitionMapKeyName[] = "content_storage_partition_map";
+const char kStoragePartitionMapKeyName[] = "content_storage_partition_map";
#if defined(OS_CHROMEOS)
const char kMountPointsKey[] = "mount_points";
@@ -46,10 +46,10 @@ StoragePartitionImplMap* GetStoragePartitionMap(
BrowserContext* browser_context) {
StoragePartitionImplMap* partition_map =
static_cast<StoragePartitionImplMap*>(
- browser_context->GetUserData(kStorageParitionMapKeyName));
+ browser_context->GetUserData(kStoragePartitionMapKeyName));
if (!partition_map) {
partition_map = new StoragePartitionImplMap(browser_context);
- browser_context->SetUserData(kStorageParitionMapKeyName, partition_map);
+ browser_context->SetUserData(kStoragePartitionMapKeyName, partition_map);
}
return partition_map;
}
@@ -199,7 +199,7 @@ void BrowserContext::ForEachStoragePartition(
const StoragePartitionCallback& callback) {
StoragePartitionImplMap* partition_map =
static_cast<StoragePartitionImplMap*>(
- browser_context->GetUserData(kStorageParitionMapKeyName));
+ browser_context->GetUserData(kStoragePartitionMapKeyName));
if (!partition_map)
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698