blob: 8738feb08d61a0713f663e296b0d3fe429b67077 [file] [log] [blame]
// Copyright 2018 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.
// This is a "No Compile Test" suite.
#include "base/task/task_traits.h"
#include "content/public/browser/browser_task_traits.h"
namespace content {
#if defined(NCTEST_BROWSER_TASK_TRAITS_NO_THREAD) // [r"The traits bag is missing a required trait."]
constexpr base::TaskTraits traits = {NonNestable()};
#elif defined(NCTEST_BROWSER_TASK_TRAITS_MULTIPLE_THREADS) // [r"The traits bag contains multiple traits of the same type."]
constexpr base::TaskTraits traits = {BrowserThread::UI,
} // namespace content