root/webkit/browser/fileapi/file_system_operation_context.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. quota_limit_type_
  2. quota_limit_type_

// Copyright (c) 2012 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 "webkit/browser/fileapi/file_system_operation_context.h"

#include "base/sequenced_task_runner.h"
#include "webkit/browser/fileapi/file_system_context.h"

namespace fileapi {

FileSystemOperationContext::FileSystemOperationContext(
    FileSystemContext* context)
    : file_system_context_(context),
      task_runner_(file_system_context_->default_file_task_runner()),
      allowed_bytes_growth_(0),
      quota_limit_type_(quota::kQuotaLimitTypeUnknown) {}

FileSystemOperationContext::FileSystemOperationContext(
    FileSystemContext* context,
    base::SequencedTaskRunner* task_runner)
    : file_system_context_(context),
      task_runner_(task_runner),
      allowed_bytes_growth_(0),
      quota_limit_type_(quota::kQuotaLimitTypeUnknown) {}

FileSystemOperationContext::~FileSystemOperationContext() {
  DetachUserDataThread();
  setter_thread_checker_.DetachFromThread();
}

}  // namespace fileapi

/* [<][>][^][v][top][bottom][index][help] */