/**
  * The host activity should call this during its onPause() handler to ensure all state is saved
  * when the app is suspended. Calling ChromiumApplication.onStop() does this for you.
  */
 public static void flushPersistentData() {
   try {
     TraceEvent.begin("ChromiumApplication.flushPersistentData");
     nativeFlushPersistentData();
   } finally {
     TraceEvent.end("ChromiumApplication.flushPersistentData");
   }
 }