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

Side by Side Diff: chrome/browser/chromeos/arc/arc_auth_context_delegate.h

Issue 2320813002: arc: Enable silent PlayStore Sign-In. (Closed)
Patch Set: cleanup 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CONTEXT_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CONTEXT_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CONTEXT_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CONTEXT_DELEGATE_H_
7 7
8 namespace arc { 8 namespace arc {
9 9
10 class ArcAuthContextDelegate { 10 class ArcAuthContextDelegate {
11 public: 11 public:
12 virtual void OnContextReady() = 0; 12 virtual void OnContextReady() = 0;
13 virtual void OnPrepareContextFailed() = 0; 13 virtual void OnPrepareContextFailed() = 0;
14 virtual void OnAuthCodeRequested(const std::string& auth_code) = 0;
xiyuan 2016/09/07 21:07:55 nit: OnAuthCodeRequested -> OnAuthCodeSuccess, Req
15 virtual void OnAuthCodeFailed() = 0;
14 16
15 protected: 17 protected:
16 virtual ~ArcAuthContextDelegate() {} 18 virtual ~ArcAuthContextDelegate() {}
17 }; 19 };
18 20
19 } // namespace arc 21 } // namespace arc
20 22
21 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CONTEXT_DELEGATE_H_ 23 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_CONTEXT_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698