diff options
Diffstat (limited to 'chrome/browser/chrome_blob_storage_context.cc')
-rw-r--r-- | chrome/browser/chrome_blob_storage_context.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chrome/browser/chrome_blob_storage_context.cc b/chrome/browser/chrome_blob_storage_context.cc new file mode 100644 index 0000000..c59ce0b --- /dev/null +++ b/chrome/browser/chrome_blob_storage_context.cc @@ -0,0 +1,22 @@ +// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/chrome_blob_storage_context.h" + +#include "chrome/browser/net/chrome_url_request_context.h" +#include "webkit/blob/blob_storage_controller.h" + +using webkit_blob::BlobStorageController; + +ChromeBlobStorageContext::ChromeBlobStorageContext() { +} + +void ChromeBlobStorageContext::InitializeOnIOThread() { + DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); + controller_.reset(new BlobStorageController()); +} + +ChromeBlobStorageContext::~ChromeBlobStorageContext() { + DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO)); +} |