#ifndef CHROME_TEST_BASE_SCOPED_TESTING_LOCAL_STATE_H_
#define CHROME_TEST_BASE_SCOPED_TESTING_LOCAL_STATE_H_
#include "base/basictypes.h"
#include "base/prefs/testing_pref_service.h"
class TestingBrowserProcess;
class ScopedTestingLocalState {
public:
explicit ScopedTestingLocalState(TestingBrowserProcess* browser_process);
~ScopedTestingLocalState();
TestingPrefServiceSimple* Get() {
return &local_state_;
}
private:
TestingBrowserProcess* browser_process_;
TestingPrefServiceSimple local_state_;
DISALLOW_COPY_AND_ASSIGN(ScopedTestingLocalState);
};
#endif