summaryrefslogtreecommitdiffstats
path: root/content/public/browser/indexed_db_info.h
blob: 8a2ee7c881521d9bd3049ef1cf1e96211a584f52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// 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,
                size_t connection_count);
  IndexedDBInfo(const IndexedDBInfo& other);
  ~IndexedDBInfo();
  IndexedDBInfo& operator=(const IndexedDBInfo& other);

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

}  // namespace content

#endif  // CONTENT_PUBLIC_BROWSER_INDEXED_DB_INFO_H_