Home | History | Annotate | Download | only in browser

Lines Matching defs:Provider

30   // the methods of this Provider interface that it needs. In each case, if the
31 // provider does not need to control a certain action, that method does not
34 // It is not guaranteed that a particular Provider's methods will be called
39 // For all of the Provider methods below, if |error| is not NULL and the
42 class Provider {
44 Provider() {}
45 virtual ~Provider() {}
47 // A human-readable name for this provider, for use in debug messages.
78 DISALLOW_COPY_AND_ASSIGN(Provider);
84 // Registers or unregisters a provider, causing it to be added to or removed
85 // from the list of providers queried. Ownership of the provider remains with
87 void RegisterProvider(Provider* provider);
88 void UnregisterProvider(Provider* provider);
106 // Returns true immediately if any registered provider's MustRemainDisabled
117 // This is a pointer to a function in the Provider interface, used in
119 typedef bool (Provider::*ProviderFunction)(const Extension*,
122 typedef std::set<Provider*> ProviderList;
124 // This is a helper to apply a method in the Provider interface to each of
125 // the Provider objects in |providers_|. The return value of this function
126 // will be |normal_result|, unless any of the Provider calls to |function|