Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: services/service_manager/public/cpp/identity.h

Issue 2446313003: Revise InterfaceRegistry API to support filtering interfaces @ Bind() time. (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/service_manager/manifest.json ('k') | services/service_manager/public/cpp/interface_registry.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/service_manager/public/cpp/identity.h
diff --git a/services/service_manager/public/cpp/identity.h b/services/service_manager/public/cpp/identity.h
index 728dea9ddb22474d37c9253aa0c1e0848334a7f2..8253403a81748c3abc58fc97fd31cab221cddab4 100644
--- a/services/service_manager/public/cpp/identity.h
+++ b/services/service_manager/public/cpp/identity.h
@@ -25,8 +25,8 @@ class Identity {
~Identity();
bool operator<(const Identity& other) const;
- bool is_null() const { return name_.empty(); }
bool operator==(const Identity& other) const;
+ bool IsValid() const;
const std::string& name() const { return name_; }
const std::string& user_id() const { return user_id_; }
« no previous file with comments | « services/service_manager/manifest.json ('k') | services/service_manager/public/cpp/interface_registry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698