blob: c59ce0bb7dd2c3ec56405481e15f476e6f466825 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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));
}
|