Lines Matching refs:Greeter
20 class CachedGreeterImpl : public Greeter {
22 Greeter* greeter;
26 INJECT(CachedGreeterImpl(Greeter* greeter, KeyValueStorage* keyValueStorage))
27 : greeter(greeter), keyValueStorage(keyValueStorage) {
37 greeting = greeter->greet();
39 // We also add it in the cache so that later calls don't need to call greeter->greet().
46 fruit::Component<fruit::Annotated<Cached, Greeter>> getCachedGreeterComponent() {
48 .bind<fruit::Annotated<Cached, Greeter>, CachedGreeterImpl>()