| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 | 131 |
| 132 private: | 132 private: |
| 133 virtual scoped_refptr<CloudPrintDataSender> CreateCloudPrintDataSender(); | 133 virtual scoped_refptr<CloudPrintDataSender> CreateCloudPrintDataSender(); |
| 134 | 134 |
| 135 // Call to get the debugger loaded on our hosted dialog page | 135 // Call to get the debugger loaded on our hosted dialog page |
| 136 // specifically. Since we're not in an official browser tab, only | 136 // specifically. Since we're not in an official browser tab, only |
| 137 // way to get the debugger going. | 137 // way to get the debugger going. |
| 138 void ShowDebugger(); | 138 void ShowDebugger(); |
| 139 | 139 |
| 140 void CancelAnyRunningTask(); | 140 void CancelAnyRunningTask(); |
| 141 bool IsCloudPrintDialogUrl(const GURL& url); |
| 141 | 142 |
| 142 CloudPrintWebDialogDelegate* dialog_delegate_; | 143 CloudPrintWebDialogDelegate* dialog_delegate_; |
| 143 content::NotificationRegistrar registrar_; | 144 content::NotificationRegistrar registrar_; |
| 144 scoped_refptr<const base::RefCountedMemory> data_; | 145 scoped_refptr<const base::RefCountedMemory> data_; |
| 145 string16 print_job_title_; | 146 string16 print_job_title_; |
| 146 string16 print_ticket_; | 147 string16 print_ticket_; |
| 147 std::string file_type_; | 148 std::string file_type_; |
| 148 scoped_refptr<CloudPrintDataSender> print_data_sender_; | 149 scoped_refptr<CloudPrintDataSender> print_data_sender_; |
| 149 scoped_ptr<CloudPrintDataSenderHelper> print_data_helper_; | 150 scoped_ptr<CloudPrintDataSenderHelper> print_data_helper_; |
| 150 bool close_after_signin_; | 151 bool close_after_signin_; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 const string16& print_ticket, | 216 const string16& print_ticket, |
| 216 const std::string& file_type, | 217 const std::string& file_type, |
| 217 bool delete_on_close); | 218 bool delete_on_close); |
| 218 void CreateDialogSigninImpl(content::BrowserContext* browser_context, | 219 void CreateDialogSigninImpl(content::BrowserContext* browser_context, |
| 219 gfx::NativeWindow modal_parent, | 220 gfx::NativeWindow modal_parent, |
| 220 const base::Closure& callback); | 221 const base::Closure& callback); |
| 221 | 222 |
| 222 } // namespace internal_cloud_print_helpers | 223 } // namespace internal_cloud_print_helpers |
| 223 | 224 |
| 224 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ | 225 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ |
| OLD | NEW |