summaryrefslogtreecommitdiffstats
path: root/content/browser/chrome_blob_storage_context.cc
blob: 8149191e4c9d134be2f78f47977c67a2fe73d8fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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 "content/browser/chrome_blob_storage_context.h"

#include "webkit/blob/blob_storage_controller.h"

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));
}