| Index: utils.cc
|
| diff --git a/utils.cc b/utils.cc
|
| index 7206171e89e4dd24534fb975fa9554931c217410..502b0d1ab134092b32411a0695eb1142c2f70159 100644
|
| --- a/utils.cc
|
| +++ b/utils.cc
|
| @@ -26,6 +26,7 @@
|
| #include <base/string_util.h>
|
| #include <base/logging.h>
|
| #include <cros_boot_mode/boot_mode.h>
|
| +#include <google/protobuf/stubs/common.h>
|
| #include <rootdev/rootdev.h>
|
|
|
| #include "update_engine/file_writer.h"
|
| @@ -551,6 +552,13 @@ int FuzzInt(int value, unsigned int range) {
|
| return base::RandInt(min, max);
|
| }
|
|
|
| +gboolean GlibRunClosure(gpointer data) {
|
| + google::protobuf::Closure* callback =
|
| + reinterpret_cast<google::protobuf::Closure*>(data);
|
| + callback->Run();
|
| + return FALSE;
|
| +}
|
| +
|
| const char* const kStatefulPartition = "/mnt/stateful_partition";
|
|
|
| } // namespace utils
|
|
|