Trust the renderer's same-document navigation flag if it is a same-origin nav.
[chromium-blink-merge.git] / content / common / content_constants_internal.cc
blobf5da70e3eefffafebf3db691ea77fe76938f3a4f
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 #include "content/common/content_constants_internal.h"
7 namespace content {
9 const int kHungRendererDelayMs = 30000;
11 const uint16 kMaxPluginSideLength = 1 << 15;
12 // 8m pixels.
13 const uint32 kMaxPluginSize = 8 << 20;
15 const int kTraceEventBrowserProcessSortIndex = -6;
16 const int kTraceEventRendererProcessSortIndex = -5;
17 const int kTraceEventPluginProcessSortIndex = -4;
18 const int kTraceEventPpapiProcessSortIndex = -3;
19 const int kTraceEventPpapiBrokerProcessSortIndex = -2;
20 const int kTraceEventGpuProcessSortIndex = -1;
22 const int kTraceEventRendererMainThreadSortIndex = -1;
24 } // namespace content