OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |