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

Unified Diff: chrome/browser/chromeos/login/helper.h

Issue 2519823006: Chromad: Add authentication flow (Closed)
Patch Set: Rename HandleAdAuth. Use system_api enums Created 4 years 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 | « ash/public/interfaces/session_controller_traits.h ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/helper.h
diff --git a/chrome/browser/chromeos/login/helper.h b/chrome/browser/chromeos/login/helper.h
index f3ebd2fad49f6642e86bf32b9c3a79935dd58740..cd27dc773f406c356b6cb5c9acee4a50aa2882fd 100644
--- a/chrome/browser/chromeos/login/helper.h
+++ b/chrome/browser/chromeos/login/helper.h
@@ -108,6 +108,12 @@ content::StoragePartition* GetSigninPartition();
// flow, the context of the sign-in webview storage partition is returned.
net::URLRequestContextGetter* GetSigninContext();
+using OnPipeReadyCallback = base::Callback<void(base::ScopedFD fd)>;
+// Returns file descriptor of a pipe, open for reading. Pipe keeps the passed
+// data.
+void GetPipeReadEnd(const std::string& data,
+ const OnPipeReadyCallback& callback);
+
} // namespace login
} // namespace chromeos
« no previous file with comments | « ash/public/interfaces/session_controller_traits.h ('k') | chrome/browser/chromeos/login/helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698