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

Unified Diff: content/browser/blob_storage/chrome_blob_storage_context.cc

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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: content/browser/blob_storage/chrome_blob_storage_context.cc
diff --git a/content/browser/blob_storage/chrome_blob_storage_context.cc b/content/browser/blob_storage/chrome_blob_storage_context.cc
index 325736ab142b7bf69058f9e8975cea78305e2741..0a122fa499abb7d1d01c77074f5134400ccf6376 100644
--- a/content/browser/blob_storage/chrome_blob_storage_context.cc
+++ b/content/browser/blob_storage/chrome_blob_storage_context.cc
@@ -35,7 +35,8 @@ using storage::BlobStorageContext;
namespace content {
namespace {
-const FilePath::CharType kBlobStorageContextKeyName[] =
+ // FIXME: Identical to the constant in resource_context_impl.cc
+const FilePath::CharType kBlobStorageContextKeyNameFoo[] =
FILE_PATH_LITERAL("content_blob_storage_context");
const FilePath::CharType kBlobStorageParentDirectory[] =
FILE_PATH_LITERAL("blob_storage");
@@ -82,11 +83,11 @@ ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor(
BrowserContext* context) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
- if (!context->GetUserData(kBlobStorageContextKeyName)) {
+ if (!context->GetUserData(kBlobStorageContextKeyNameFoo)) {
scoped_refptr<ChromeBlobStorageContext> blob =
new ChromeBlobStorageContext();
context->SetUserData(
- kBlobStorageContextKeyName,
+ kBlobStorageContextKeyNameFoo,
base::MakeUnique<UserDataAdapter<ChromeBlobStorageContext>>(
blob.get()));
@@ -126,7 +127,7 @@ ChromeBlobStorageContext* ChromeBlobStorageContext::GetFor(
}
return UserDataAdapter<ChromeBlobStorageContext>::Get(
- context, kBlobStorageContextKeyName);
+ context, kBlobStorageContextKeyNameFoo);
}
void ChromeBlobStorageContext::InitializeOnIOThread(
« no previous file with comments | « content/browser/appcache/appcache_update_job.cc ('k') | content/browser/cache_storage/cache_storage_dispatcher_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698