chromium/content/public/common/content_constants.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/common/content_constants.h"

#include <vector>

#include "base/strings/string_util.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"

namespace content {

const char kBrowserPluginMimeType[] =;

const size_t kMaxURLDisplayChars =;

#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
const char kStatsFilename[] = "ChromeStats2";
#else
const char kStatsFilename[] =;
#endif

const int kStatsMaxThreads =;
const int kStatsMaxCounters =;

const int kHistogramSynchronizerReservedSequenceNumber =;

// TODO(jkarlin): The value is high to reduce the chance of the detachable
// request timing out, forcing a blocked second request to open a new connection
// and start over. Reduce this value once we have a better idea of what it
// should be and once we stop blocking multiple simultaneous requests for the
// same resource (see bugs 46104 and 31014).
const int kDefaultDetachableCancelDelayMs =;

const char kCorsExemptPurposeHeaderName[] =;

std::string GetCorsExemptRequestedWithHeaderName() {}

#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
const int kLowestRendererOomScore =;
const int kHighestRendererOomScore =;

// The minimum amount to bump a score by.  This is large enough that
// even if it's translated into the old values, it will still go up
// by at least one.
static const int kOomScoreBump =;

// Browsers and zygotes should still be killable, but killed last.
const int kZygoteOomScore =;
// For "miscellaneous" things, we want them after renderers, but before plugins.
const int kMiscOomScore =;
// We want plugins to die after the renderers.
const int kPluginOomScore =;

static_assert;
static_assert;
#endif

#if BUILDFLAG(IS_ANDROID)
const int kAndroidMinimumTabletWidthDp = 600;
#endif

}  // namespace content