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

Unified Diff: testrunner.cc

Issue 3173041: Add 10 minute random fuzz to automatic update check event schedule. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: review comments 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « main.cc ('k') | utils.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testrunner.cc
diff --git a/testrunner.cc b/testrunner.cc
index 933c25d930b2ed2d999531f820c62212ed4bf0c3..3e40e1fcdcc2ec28b816e02c46c1866c8a4d671e 100644
--- a/testrunner.cc
+++ b/testrunner.cc
@@ -10,6 +10,7 @@
#include <glib.h>
#include <glib-object.h>
#include <gtest/gtest.h>
+#include "base/at_exit.h"
#include "base/command_line.h"
#include "update_engine/subprocess.h"
@@ -17,6 +18,7 @@ int main(int argc, char **argv) {
::g_type_init();
g_thread_init(NULL);
dbus_g_thread_init();
+ base::AtExitManager exit_manager;
chromeos_update_engine::Subprocess::Init();
CommandLine::Init(argc, argv);
::testing::InitGoogleTest(&argc, argv);
« no previous file with comments | « main.cc ('k') | utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698