summaryrefslogtreecommitdiffstats
path: root/chrome/common/dom_storage_common.h
blob: 21ba19c853234c4c653ba25b874206fa24d70370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// 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

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

enum DOMStorageType {
  DOM_STORAGE_LOCAL = 0,
  DOM_STORAGE_SESSION
};

#endif  // CHROME_COMMON_DOM_STORAGE_COMMON_H_