1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_CONSTANTS_H_
6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_CONSTANTS_H_
8 #include "ipc/ipc_channel.h"
12 const int32 kNoDatabase
= -1;
14 const size_t kMaxIDBMessageOverhead
= 1024 * 1024; // 1MB; arbitrarily chosen.
16 const size_t kMaxIDBMessageSizeInBytes
=
17 IPC::Channel::kMaximumMessageSize
- kMaxIDBMessageOverhead
;
19 } // namespace content
21 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_CONSTANTS_H_