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. 4 5#include "content/common/content_constants_internal.h" 6 7namespace content { 8 9const int kHungRendererDelayMs = 30000; 10 11const uint16 kMaxPluginSideLength = 1 << 15; 12// 8m pixels. 13const uint32 kMaxPluginSize = 8 << 20; 14 15// 10MiB 16const size_t kMaxLengthOfDataURLString = 1024 * 1024 * 10; 17 18const int kTraceEventBrowserProcessSortIndex = -6; 19const int kTraceEventRendererProcessSortIndex = -5; 20const int kTraceEventPluginProcessSortIndex = -4; 21const int kTraceEventPpapiProcessSortIndex = -3; 22const int kTraceEventPpapiBrokerProcessSortIndex = -2; 23const int kTraceEventGpuProcessSortIndex = -1; 24 25const int kTraceEventRendererMainThreadSortIndex = -1; 26 27} // namespace content 28