Infobar material design refresh: bg color
[chromium-blink-merge.git] / cc / blink / test / cc_blink_test_suite.cc
blob6202cfd3b0774276b778cc22e7cca66003d0e1d9
1 // Copyright (c) 2015 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 "cc/blink/test/cc_blink_test_suite.h"
7 #include "base/message_loop/message_loop.h"
8 #include "base/threading/thread_id_name_manager.h"
10 namespace cc_blink {
12 CCBlinkTestSuite::CCBlinkTestSuite(int argc, char** argv)
13 : base::TestSuite(argc, argv) {}
15 CCBlinkTestSuite::~CCBlinkTestSuite() {}
17 void CCBlinkTestSuite::Initialize() {
18 base::TestSuite::Initialize();
20 message_loop_.reset(new base::MessageLoop);
22 base::ThreadIdNameManager::GetInstance()->SetName(
23 base::PlatformThread::CurrentId(),
24 "Main");
27 void CCBlinkTestSuite::Shutdown() {
28 message_loop_ = nullptr;
30 base::TestSuite::Shutdown();
33 } // namespace cc_blink