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

Side by Side Diff: 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 | « libcurl_http_fetcher.cc ('k') | mock_http_fetcher.h » ('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) 2010 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium OS 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 <string> 5 #include <string>
6 #include <tr1/memory> 6 #include <tr1/memory>
7 #include <vector> 7 #include <vector>
8 8
9 #include <gflags/gflags.h> 9 #include <gflags/gflags.h>
10 #include <glib.h> 10 #include <glib.h>
11 11
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "chromeos/obsolete_logging.h" 13 #include "base/logging.h"
14 #include "metrics/metrics_library.h" 14 #include "metrics/metrics_library.h"
15 #include "update_engine/dbus_constants.h" 15 #include "update_engine/dbus_constants.h"
16 #include "update_engine/dbus_service.h" 16 #include "update_engine/dbus_service.h"
17 #include "update_engine/prefs.h" 17 #include "update_engine/prefs.h"
18 #include "update_engine/update_attempter.h" 18 #include "update_engine/update_attempter.h"
19 #include "update_engine/utils.h" 19 #include "update_engine/utils.h"
20 20
21 extern "C" { 21 extern "C" {
22 #include "update_engine/update_engine.dbusserver.h" 22 #include "update_engine/update_engine.dbusserver.h"
23 } 23 }
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 g_main_loop_run(loop); 151 g_main_loop_run(loop);
152 152
153 // Cleanup: 153 // Cleanup:
154 g_main_loop_unref(loop); 154 g_main_loop_unref(loop);
155 update_attempter.set_dbus_service(NULL); 155 update_attempter.set_dbus_service(NULL);
156 g_object_unref(G_OBJECT(service)); 156 g_object_unref(G_OBJECT(service));
157 157
158 LOG(INFO) << "Chrome OS Update Engine terminating"; 158 LOG(INFO) << "Chrome OS Update Engine terminating";
159 return 0; 159 return 0;
160 } 160 }
OLDNEW
« no previous file with comments | « libcurl_http_fetcher.cc ('k') | mock_http_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698