Lines Matching defs:service_
53 service_ = SavedFilesService::Get(env_.profile());
67 EXPECT_TRUE(service_->IsRegistered(extension_->id(), id_string));
69 service_->GetFileEntry(extension_->id(), id_string);
87 SavedFilesService* service_;
92 service_->RegisterFileEntry(extension_->id(), GenerateId(1), path_, true);
93 service_->RegisterFileEntry(extension_->id(), GenerateId(2), path_, true);
94 service_->RegisterFileEntry(extension_->id(), GenerateId(3), path_, true);
102 service_->EnqueueFileEntry(extension_->id(), GenerateId(1));
108 service_->EnqueueFileEntry(extension_->id(), GenerateId(1));
114 service_->EnqueueFileEntry(extension_->id(), GenerateId(2));
120 service_->EnqueueFileEntry(extension_->id(), GenerateId(2));
125 service_->EnqueueFileEntry(extension_->id(), GenerateId(1));
130 EXPECT_FALSE(service_->IsRegistered(extension_->id(), "another id"));
132 EXPECT_FALSE(service_->GetFileEntry(extension_->id(), "another id"));
136 service_->ClearQueueIfNoRetainPermission(extension_);
144 service_->Clear(extension_->id());
147 EXPECT_FALSE(service_->IsRegistered(extension_->id(), GenerateId(3)));
154 service_->RegisterFileEntry(extension_->id(), GenerateId(1), path_, true);
157 service_->EnqueueFileEntry(extension_->id(), GenerateId(1));
159 EXPECT_FALSE(service_->IsRegistered(extension_->id(), "another id"));
160 EXPECT_FALSE(service_->GetFileEntry(extension_->id(), "another id"));
164 service_->ClearQueueIfNoRetainPermission(extension_);
166 service_->GetAllFileEntries(extension_->id());
173 service_->RegisterFileEntry(extension_->id(), GenerateId(i), path_, true);
174 service_->EnqueueFileEntry(extension_->id(), GenerateId(i));
176 service_->RegisterFileEntry(extension_->id(), GenerateId(10), path_, true);
181 service_->EnqueueFileEntry(extension_->id(), GenerateId(10));
188 service_->Clear(extension_->id());
190 EXPECT_FALSE(service_->GetFileEntry(extension_->id(), GenerateId(0)));
195 service_->EnqueueFileEntry(extension_->id(), GenerateId(2));
201 service_->Clear(extension_->id());
211 service_->RegisterFileEntry(extension_->id(), GenerateId(i), path_, true);
212 service_->EnqueueFileEntry(extension_->id(), GenerateId(i));
214 service_->EnqueueFileEntry(extension_->id(), GenerateId(2));
215 service_->EnqueueFileEntry(extension_->id(), GenerateId(3));
216 service_->EnqueueFileEntry(extension_->id(), GenerateId(2));
224 service_->Clear(extension_->id());
233 service_->EnqueueFileEntry(extension_->id(), GenerateId(3));
235 service_->Clear(extension_->id());