Lines Matching refs:kEvent1Name

24 const char kEvent1Name[] = "event1";
110 constructor.Run(kEvent1Name, NULL, new DictionaryValue()));
111 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
127 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
129 kEvent1Name,
134 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
142 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
144 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("yahoo.com")));
146 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
154 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
157 EventListener::ForExtension(kEvent1Name,
162 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
171 kEvent1Name, NULL, CreateHostSuffixFilter("google.com").release()));
174 constructor.Run(kEvent1Name,
180 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
196 kEvent1Name, NULL, CreateHostSuffixFilter("google.com").release()));
199 constructor.Run(kEvent1Name,
204 constructor.Run(kEvent1Name,
209 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
224 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
226 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
229 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
232 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
246 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
252 scoped_ptr<Event> event(CreateNamedEvent(kEvent1Name));
264 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
266 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
275 constructor.Run(kEvent1Name, NULL, new DictionaryValue()));
277 constructor.Run(kEvent1Name, NULL, new DictionaryValue()));
280 constructor.Run(kEvent1Name, NULL, new DictionaryValue()));
302 kEvent1Name, kExt1Id, process_.get(), scoped_ptr<DictionaryValue>()));
304 kEvent1Name, GURL(kURL), process_.get(), scoped_ptr<DictionaryValue>()));
306 ASSERT_FALSE(listeners_->HasListenerForEvent(kEvent1Name));
311 ASSERT_FALSE(listeners_->HasListenerForEvent(kEvent1Name));
314 constructor.Run(kEvent1Name, process_.get(), new DictionaryValue()));
317 ASSERT_TRUE(listeners_->HasListenerForEvent(kEvent1Name));
319 ASSERT_FALSE(listeners_->HasListenerForEvent(kEvent1Name));
332 ASSERT_FALSE(listeners_->HasListenerForExtension(kExt1Id, kEvent1Name));
336 kEvent1Name, kExt1Id, process_.get(), scoped_ptr<DictionaryValue>()));
339 kEvent1Name, kExt1Id, NULL, scoped_ptr<DictionaryValue>()));
342 ASSERT_TRUE(listeners_->HasListenerForExtension(kExt1Id, kEvent1Name));
343 ASSERT_FALSE(listeners_->HasListenerForExtension(kExt2Id, kEvent1Name));
345 ASSERT_TRUE(listeners_->HasListenerForExtension(kExt1Id, kEvent1Name));
347 ASSERT_FALSE(listeners_->HasListenerForExtension(kExt1Id, kEvent1Name));
356 filtered_listeners.Set(kEvent1Name, filter_list);
363 scoped_ptr<Event> event(CreateEvent(kEvent1Name,
368 kEvent1Name, kExt1Id, NULL, CreateHostSuffixFilter("google.com")));
376 // kEvent1Name should be associated with a list, not a dictionary.
377 filtered_listeners.Set(kEvent1Name, filter1.release());
381 scoped_ptr<Event> event(CreateEvent(kEvent1Name,