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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_code_fetcher_delegate.h

Issue 2320813002: arc: Enable silent PlayStore Sign-In. (Closed)
Patch Set: rebase/refactor Created 4 years, 3 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
Index: chrome/browser/chromeos/arc/arc_auth_code_fetcher_delegate.h
diff --git a/chrome/browser/chromeos/arc/arc_auth_code_fetcher_delegate.h b/chrome/browser/chromeos/arc/arc_auth_code_fetcher_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..f5af93a035876dfa43be01b9b78ac98db91ec03d
--- /dev/null
+++ b/chrome/browser/chromeos/arc/arc_auth_code_fetcher_delegate.h
@@ -0,0 +1,21 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CODE_FETCHER_DELEGATE_H_
+#define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CODE_FETCHER_DELEGATE_H_
+
+namespace arc {
+
+class ArcAuthCodeFetcherDelegate {
+ public:
+ virtual void OnAuthCodeSuccess(const std::string& auth_code) = 0;
+ virtual void OnAuthCodeFailed() = 0;
+
+ protected:
+ virtual ~ArcAuthCodeFetcherDelegate() {}
+};
+
+} // namespace arc
+
+#endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CODE_FETCHER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698