summaryrefslogtreecommitdiff
path: root/chromium/ui/views/examples/examples_main.cc
blob: 82ec4ab520027562cbfbbd969dec28dff8927636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 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 "base/at_exit.h"
#include "base/command_line.h"
#include "base/test/test_timeouts.h"
#include "ui/views/examples/examples_main_proc.h"

int main(int argc, char** argv) {
  base::CommandLine::Init(argc, argv);

  // The use of base::test::TaskEnvironment in the following function relies on
  // the timeout values from TestTimeouts.
  TestTimeouts::Initialize();

  base::AtExitManager at_exit;

  return static_cast<int>(views::examples::ExamplesMainProc());
}