Don't schedule periodic update checks for non-official builds.

BUG=5334
TEST=unit tests, gmerged on device and tried with different tracks

Review URL: http://codereview.chromium.org/3041044
diff --git a/utils.h b/utils.h
index 9be2509..f7f734e 100644
--- a/utils.h
+++ b/utils.h
@@ -18,6 +18,12 @@
 
 namespace utils {
 
+// Returns true if this is an official Chrome OS build, false
+// otherwise. Currently, this routine errs on the official build side
+// -- if it doesn't recognize the update track as non-official, it
+// assumes the build is official.
+bool IsOfficialBuild();
+
 // Writes the data passed to path. The file at path will be overwritten if it
 // exists. Returns true on success, false otherwise.
 bool WriteFile(const char* path, const char* data, int data_len);