OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_REMOTING_REMOTING_SETUP_FLOW_H_ | 5 #ifndef CHROME_BROWSER_REMOTING_REMOTING_SETUP_FLOW_H_ |
6 #define CHROME_BROWSER_REMOTING_REMOTING_SETUP_FLOW_H_ | 6 #define CHROME_BROWSER_REMOTING_REMOTING_SETUP_FLOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 // HtmlDialogUIDelegate implementation. | 55 // HtmlDialogUIDelegate implementation. |
56 virtual GURL GetDialogContentURL() const; | 56 virtual GURL GetDialogContentURL() const; |
57 virtual void GetDOMMessageHandlers( | 57 virtual void GetDOMMessageHandlers( |
58 std::vector<DOMMessageHandler*>* handlers) const; | 58 std::vector<DOMMessageHandler*>* handlers) const; |
59 virtual void GetDialogSize(gfx::Size* size) const; | 59 virtual void GetDialogSize(gfx::Size* size) const; |
60 virtual std::string GetDialogArgs() const; | 60 virtual std::string GetDialogArgs() const; |
61 virtual void OnDialogClosed(const std::string& json_retval); | 61 virtual void OnDialogClosed(const std::string& json_retval); |
62 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog); | 62 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog); |
63 virtual std::wstring GetDialogTitle() const; | 63 virtual std::wstring GetDialogTitle() const; |
64 virtual bool IsDialogModal() const; | 64 virtual bool IsDialogModal() const; |
| 65 virtual bool ShouldShowDialogTitle() const; |
65 | 66 |
66 // GaiaAuthConsumer implementation. | 67 // GaiaAuthConsumer implementation. |
67 virtual void OnClientLoginFailure( | 68 virtual void OnClientLoginFailure( |
68 const GoogleServiceAuthError& error); | 69 const GoogleServiceAuthError& error); |
69 virtual void OnClientLoginSuccess( | 70 virtual void OnClientLoginSuccess( |
70 const GaiaAuthConsumer::ClientLoginResult& credentials); | 71 const GaiaAuthConsumer::ClientLoginResult& credentials); |
71 virtual void OnIssueAuthTokenSuccess(const std::string& service, | 72 virtual void OnIssueAuthTokenSuccess(const std::string& service, |
72 const std::string& auth_token); | 73 const std::string& auth_token); |
73 virtual void OnIssueAuthTokenFailure(const std::string& service, | 74 virtual void OnIssueAuthTokenFailure(const std::string& service, |
74 const GoogleServiceAuthError& error); | 75 const GoogleServiceAuthError& error); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 std::string sync_token_; | 118 std::string sync_token_; |
118 | 119 |
119 // Handle to the ServiceProcessControl which talks to the service process. | 120 // Handle to the ServiceProcessControl which talks to the service process. |
120 ServiceProcessControl* process_control_; | 121 ServiceProcessControl* process_control_; |
121 scoped_refptr<RemotingServiceProcessHelper> service_process_helper_; | 122 scoped_refptr<RemotingServiceProcessHelper> service_process_helper_; |
122 | 123 |
123 DISALLOW_COPY_AND_ASSIGN(RemotingSetupFlow); | 124 DISALLOW_COPY_AND_ASSIGN(RemotingSetupFlow); |
124 }; | 125 }; |
125 | 126 |
126 #endif // CHROME_BROWSER_REMOTING_REMOTING_SETUP_FLOW_H_ | 127 #endif // CHROME_BROWSER_REMOTING_REMOTING_SETUP_FLOW_H_ |
OLD | NEW |