summaryrefslogtreecommitdiffstats
path: root/content/browser/chrome_blob_storage_context.cc
blob: 85a706c79866bd632f3fec657e96db6f93f5c304 (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) 2011 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 "content/browser/chrome_blob_storage_context.h"

#include "webkit/blob/blob_storage_controller.h"

using content::BrowserThread;
using webkit_blob::BlobStorageController;

ChromeBlobStorageContext::ChromeBlobStorageContext() {
}

void ChromeBlobStorageContext::InitializeOnIOThread() {
  DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
  controller_.reset(new BlobStorageController());
}

ChromeBlobStorageContext::~ChromeBlobStorageContext() {
  DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
}