Respond with QuotaExceededError when IndexedDB has no disk space on open.
[chromium-blink-merge.git] / content / common / content_constants_internal.h
blob55a2ade35334e7af923b1d9eaba86a99e239fb49
1 // Copyright (c) 2012 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_CONTENT_CONSTANTS_INTERNAL_H_
6 #define CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
11 namespace content {
13 // How long to wait before we consider a renderer hung.
14 CONTENT_EXPORT extern const int kHungRendererDelayMs;
16 // The maximum plugin width and height.
17 extern const uint16 kMaxPluginSideLength;
18 // The maximum plugin size, defined as the number of pixels occupied by the
19 // plugin.
20 extern const uint32 kMaxPluginSize;
22 // Constants used to organize content processes in about:tracing.
23 CONTENT_EXPORT extern const int kTraceEventBrowserProcessSortIndex;
24 CONTENT_EXPORT extern const int kTraceEventRendererProcessSortIndex;
25 CONTENT_EXPORT extern const int kTraceEventPluginProcessSortIndex;
26 CONTENT_EXPORT extern const int kTraceEventPpapiProcessSortIndex;
27 CONTENT_EXPORT extern const int kTraceEventPpapiBrokerProcessSortIndex;
28 CONTENT_EXPORT extern const int kTraceEventGpuProcessSortIndex;
30 // Constants used to organize content threads in about:tracing.
31 CONTENT_EXPORT extern const int kTraceEventRendererMainThreadSortIndex;
33 } // namespace content
35 #endif // CONTENT_COMMON_CONTENT_CONSTANTS_INTERNAL_H_