C++程序  |  33行  |  861 B

// Copyright (c) 2013 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.

#ifndef CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_
#define CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_

#include "base/files/file_path.h"
#include "base/time/time.h"
#include "content/common/content_export.h"
#include "url/gurl.h"

namespace content {

class CONTENT_EXPORT IndexedDBInfo {
 public:
  IndexedDBInfo(const GURL& origin,
                int64 size,
                const base::Time& last_modified,
                const base::FilePath& path,
                size_t connection_count_);

  GURL origin_;
  int64 size_;
  base::Time last_modified_;
  base::FilePath path_;
  size_t connection_count_;
};

}  // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_