summaryrefslogtreecommitdiff
path: root/chromium/content/common/content_constants_internal.cc
blob: f5da70e3eefffafebf3db691ea77fe76938f3a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright (c) 2012 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.

#include "content/common/content_constants_internal.h"

namespace content {

const int kHungRendererDelayMs = 30000;

const uint16 kMaxPluginSideLength = 1 << 15;
// 8m pixels.
const uint32 kMaxPluginSize = 8 << 20;

const int kTraceEventBrowserProcessSortIndex = -6;
const int kTraceEventRendererProcessSortIndex = -5;
const int kTraceEventPluginProcessSortIndex = -4;
const int kTraceEventPpapiProcessSortIndex = -3;
const int kTraceEventPpapiBrokerProcessSortIndex = -2;
const int kTraceEventGpuProcessSortIndex = -1;

const int kTraceEventRendererMainThreadSortIndex = -1;

} // namespace content