Searched refs:AutoReset (Results 1 – 6 of 6) sorted by relevance
22 class AutoReset {24 AutoReset(T* scoped_variable, T new_value) in AutoReset() function30 ~AutoReset() { *scoped_variable_ = original_value_; } in ~AutoReset()36 DISALLOW_COPY_AND_ASSIGN(AutoReset);
33 TEST(EventTest, AutoReset) { in TEST() argument
207 AutoReset<bool> auto_reset_keep_running(&keep_running_, true); in Run()208 AutoReset<bool> auto_reset_in_run(&in_run_, true); in Run()
52 AutoReset(DoAutoReset), HadError(false) { in MCContext()63 if (AutoReset) in ~MCContext()
227 bool AutoReset; variable
85 base::AutoReset<base::RunLoop*> reseter(&run_loop_, &run_loop); in RunUntilGotCallback()