| Index: webkit/dom_storage/dom_storage_types.h
|
| diff --git a/webkit/dom_storage/dom_storage_types.h b/webkit/dom_storage/dom_storage_types.h
|
| index d2b65bf68724ddb8e13a1549b6ad19dd5a7211c0..46e66f1d63e4e90d998091cd48c2edae955b4405 100644
|
| --- a/webkit/dom_storage/dom_storage_types.h
|
| +++ b/webkit/dom_storage/dom_storage_types.h
|
| @@ -17,6 +17,9 @@ namespace dom_storage {
|
| // The quota for each storage area. Suggested by the spec.
|
| const size_t kPerAreaQuota = 5 * 1024 * 1024;
|
|
|
| +// The threshold we decide to use shared_memory instead of pipe/socket
|
| +const size_t kShmEnableThreshold = 1 * 1024 * 1024;
|
| +
|
| // Value to indicate the localstorage namespace vs non-zero
|
| // values for sessionstorage namespaces.
|
| const int64 kLocalStorageNamespaceId = 0;
|
| @@ -28,6 +31,12 @@ const int kInvalidAreaId = -1;
|
|
|
| typedef std::map<string16, NullableString16> ValuesMap;
|
|
|
| +//
|
| +enum IPC_Flag {
|
| + Channel = 0,
|
| + SharedMemory
|
| +};
|
| +
|
| } // namespace dom_storage
|
|
|
| #endif // WEBKIT_DOM_STORAGE_DOM_STORAGE_TYPES_H_
|
|
|