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

Side by Side Diff: tools/goopdump/goopdump_cmd_line_parser.h

Issue 624713003: Keep only base/extractor.[cc|h]. (Closed) Base URL: https://chromium.googlesource.com/external/omaha.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « tools/goopdump/goopdump.cc ('k') | tools/goopdump/goopdump_cmd_line_parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2009 Google Inc.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 // ========================================================================
15
16
17 #ifndef OMAHA_TOOLS_SRC_GOOPDUMP_GOOPDUMP_CMD_LINE_PARSER_H_
18 #define OMAHA_TOOLS_SRC_GOOPDUMP_GOOPDUMP_CMD_LINE_PARSER_H_
19
20 #include <windows.h>
21 #include <atlstr.h>
22 #include "base/basictypes.h"
23
24 namespace omaha {
25
26 struct GoopdumpCmdLineArgs {
27 GoopdumpCmdLineArgs()
28 : is_machine(false),
29 is_user(false),
30 is_monitor(false),
31 is_dump_app_manager(false),
32 is_dump_oneclick(false),
33 is_dump_general(false),
34 is_write_to_file(false) {}
35 bool is_machine; // Display per-machine data.
36 bool is_user; // Display per-user data (for current user only).
37 bool is_monitor; // Is monitor mode (monitors real time activity).
38 bool is_dump_app_manager; // Dump AppManager data.
39 bool is_dump_oneclick; // Dump OneClick data.
40 bool is_dump_general; // Dump general OS and Omaha data.
41 bool is_write_to_file; // Dump data to file.
42 CString log_filename; // Filename of log to write to.
43 };
44
45 HRESULT ParseGoopdumpCmdLine(int argc, TCHAR** argv, GoopdumpCmdLineArgs* args);
46
47 } // namespace omaha
48
49 #endif // OMAHA_TOOLS_SRC_GOOPDUMP_GOOPDUMP_CMD_LINE_PARSER_H_
50
OLDNEW
« no previous file with comments | « tools/goopdump/goopdump.cc ('k') | tools/goopdump/goopdump_cmd_line_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698