Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: tools/battor_agent/battor_agent_bin.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file provides a thin binary wrapper around the BattOr Agent 5 // This file provides a thin binary wrapper around the BattOr Agent
6 // library. This binary wrapper provides a means for non-C++ tracing 6 // library. This binary wrapper provides a means for non-C++ tracing
7 // controllers, such as Telemetry and Android Systrace, to issue high-level 7 // controllers, such as Telemetry and Android Systrace, to issue high-level
8 // tracing commands to the BattOr through an interactive shell. 8 // tracing commands to the BattOr through an interactive shell.
9 // 9 //
10 // Example usage of how an external trace controller might use this binary: 10 // Example usage of how an external trace controller might use this binary:
(...skipping 24 matching lines...) Expand all
35 35
36 #include <fstream> 36 #include <fstream>
37 #include <iostream> 37 #include <iostream>
38 38
39 #include "base/at_exit.h" 39 #include "base/at_exit.h"
40 #include "base/bind.h" 40 #include "base/bind.h"
41 #include "base/bind_helpers.h" 41 #include "base/bind_helpers.h"
42 #include "base/command_line.h" 42 #include "base/command_line.h"
43 #include "base/location.h" 43 #include "base/location.h"
44 #include "base/logging.h" 44 #include "base/logging.h"
45 #include "base/message_loop/message_loop.h"
45 #include "base/run_loop.h" 46 #include "base/run_loop.h"
46 #include "base/strings/string_tokenizer.h" 47 #include "base/strings/string_tokenizer.h"
47 #include "base/strings/utf_string_conversions.h" 48 #include "base/strings/utf_string_conversions.h"
48 #include "base/threading/thread.h" 49 #include "base/threading/thread.h"
49 #include "base/threading/thread_task_runner_handle.h" 50 #include "base/threading/thread_task_runner_handle.h"
50 #include "tools/battor_agent/battor_agent.h" 51 #include "tools/battor_agent/battor_agent.h"
51 #include "tools/battor_agent/battor_error.h" 52 #include "tools/battor_agent/battor_error.h"
52 #include "tools/battor_agent/battor_finder.h" 53 #include "tools/battor_agent/battor_finder.h"
53 54
54 using std::endl; 55 using std::endl;
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
338 }; 339 };
339 340
340 } // namespace battor 341 } // namespace battor
341 342
342 int main(int argc, char* argv[]) { 343 int main(int argc, char* argv[]) {
343 base::AtExitManager exit_manager; 344 base::AtExitManager exit_manager;
344 base::CommandLine::Init(argc, argv); 345 base::CommandLine::Init(argc, argv);
345 battor::BattOrAgentBin bin; 346 battor::BattOrAgentBin bin;
346 return bin.Run(argc, argv); 347 return bin.Run(argc, argv);
347 } 348 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698