summaryrefslogtreecommitdiffstats
path: root/chrome/common/dom_storage_common.h
blob: 59463843f20e61665983438ef9d64e80cf6ce5ef (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.

#ifndef CHROME_COMMON_DOM_STORAGE_COMMON_H_
#define CHROME_COMMON_DOM_STORAGE_COMMON_H_
#pragma once

#include "build/build_config.h"

#include "base/basictypes.h"

const int64 kLocalStorageNamespaceId = 0;
const int64 kInvalidSessionStorageNamespaceId = kLocalStorageNamespaceId;

enum DOMStorageType {
  DOM_STORAGE_LOCAL = 0,
  DOM_STORAGE_SESSION
};

#endif  // CHROME_COMMON_DOM_STORAGE_COMMON_H_