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

Side by Side Diff: generate_delta_main.cc

Issue 3170010: [update_engine] Update to use not-hideously-old logging API from chrome (Closed) Base URL: http://src.chromium.org/git/update_engine.git
Patch Set: Created 10 years, 4 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 | « filesystem_iterator.cc ('k') | gzip.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 #include <sys/types.h> 5 #include <sys/types.h>
6 #include <sys/stat.h> 6 #include <sys/stat.h>
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <unistd.h> 9 #include <unistd.h>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 #include <gflags/gflags.h> 13 #include <gflags/gflags.h>
14 #include <glib.h> 14 #include <glib.h>
15 #include "base/command_line.h" 15 #include "base/command_line.h"
16 #include "chromeos/obsolete_logging.h" 16 #include "base/logging.h"
17 #include "update_engine/delta_diff_generator.h" 17 #include "update_engine/delta_diff_generator.h"
18 #include "update_engine/delta_performer.h" 18 #include "update_engine/delta_performer.h"
19 #include "update_engine/subprocess.h" 19 #include "update_engine/subprocess.h"
20 #include "update_engine/update_metadata.pb.h" 20 #include "update_engine/update_metadata.pb.h"
21 #include "update_engine/utils.h" 21 #include "update_engine/utils.h"
22 22
23 DEFINE_string(old_dir, "", 23 DEFINE_string(old_dir, "",
24 "Directory where the old rootfs is loop mounted read-only"); 24 "Directory where the old rootfs is loop mounted read-only");
25 DEFINE_string(new_dir, "", 25 DEFINE_string(new_dir, "",
26 "Directory where the new rootfs is loop mounted read-only"); 26 "Directory where the new rootfs is loop mounted read-only");
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 return 0; 102 return 0;
103 } 103 }
104 104
105 } // namespace {} 105 } // namespace {}
106 106
107 } // namespace chromeos_update_engine 107 } // namespace chromeos_update_engine
108 108
109 int main(int argc, char** argv) { 109 int main(int argc, char** argv) {
110 return chromeos_update_engine::Main(argc, argv); 110 return chromeos_update_engine::Main(argc, argv);
111 } 111 }
OLDNEW
« no previous file with comments | « filesystem_iterator.cc ('k') | gzip.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698