summaryrefslogtreecommitdiffstats
path: root/chromium/ui/views/examples/examples_main.cc
blob: 28864c477c824ddc65c9985ce3327ee737e6c762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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/message_loop/message_loop.h"
#include "base/run_loop.h"

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

  base::MessageLoop message_loop(base::MessageLoop::TYPE_UI);

  base::RunLoop().Run();

  return 0;
}