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

Side by Side Diff: ios/chrome/browser/ui/webui/signin_internals_ui_ios.h

Issue 2580333003: Upstream Chrome on iOS source code [10/11]. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_IOS_H_
6 #define IOS_CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_IOS_H_
7
8 #include "base/macros.h"
9 #include "base/values.h"
10 #include "components/signin/core/browser/about_signin_internals.h"
11 #include "ios/web/public/webui/web_ui_ios_controller.h"
12
13 // The implementation for the chrome://signin-internals page.
14 class SignInInternalsUIIOS : public web::WebUIIOSController,
15 public AboutSigninInternals::Observer {
16 public:
17 explicit SignInInternalsUIIOS(web::WebUIIOS* web_ui);
18 ~SignInInternalsUIIOS() override;
19
20 // web::WebUIIOSController implementation.
21 bool OverrideHandleWebUIIOSMessage(const GURL& source_url,
22 const std::string& name,
23 const base::ListValue& args) override;
24
25 // AboutSigninInternals::Observer::OnSigninStateChanged implementation.
26 void OnSigninStateChanged(const base::DictionaryValue* info) override;
27
28 // Notification that the cookie accounts are ready to be displayed.
29 void OnCookieAccountsFetched(const base::DictionaryValue* info) override;
30
31 private:
32 DISALLOW_COPY_AND_ASSIGN(SignInInternalsUIIOS);
33 };
34
35 #endif // IOS_CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_IOS_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/webui/omaha_ui.cc ('k') | ios/chrome/browser/ui/webui/signin_internals_ui_ios.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698