Lines Matching defs:prefs_
19 prefs_.reset(new ServiceProcessPrefs(
25 prefs_.reset();
32 scoped_ptr<ServiceProcessPrefs> prefs_;
37 prefs_->SetBoolean("testb", true);
38 prefs_->SetString("tests", "testvalue");
39 prefs_->WritePrefs();
41 prefs_->SetBoolean("testb", false); // overwrite
42 prefs_->SetString("tests", std::string()); // overwrite
43 prefs_->ReadPrefs();
44 EXPECT_EQ(prefs_->GetBoolean("testb", false), true);
45 EXPECT_EQ(prefs_->GetString("tests", std::string()), "testvalue");