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_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ |
6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ | 6 #define CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/time.h" | |
13 #include "google_apis/gaia/gaia_auth_consumer.h" | 12 #include "google_apis/gaia/gaia_auth_consumer.h" |
14 #include "google_apis/gaia/gaia_auth_fetcher.h" | 13 #include "google_apis/gaia/gaia_auth_fetcher.h" |
15 #include "google_apis/gaia/google_service_auth_error.h" | 14 #include "google_apis/gaia/google_service_auth_error.h" |
16 #include "grit/generated_resources.h" | 15 #include "grit/generated_resources.h" |
17 #include "ui/base/l10n/l10n_util.h" | 16 #include "ui/base/l10n/l10n_util.h" |
18 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
19 #include "ui/web_dialogs/web_dialog_delegate.h" | 18 #include "ui/web_dialogs/web_dialog_delegate.h" |
20 | 19 |
21 class CloudPrintServiceProcessHelper; | 20 class CloudPrintServiceProcessHelper; |
22 class CloudPrintSetupMessageHandler; | 21 class CloudPrintSetupMessageHandler; |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 bool setup_done_; | 147 bool setup_done_; |
149 | 148 |
150 // Handle to the ServiceProcessControl which talks to the service process. | 149 // Handle to the ServiceProcessControl which talks to the service process. |
151 ServiceProcessControl* process_control_; | 150 ServiceProcessControl* process_control_; |
152 base::WeakPtr<Delegate> delegate_; | 151 base::WeakPtr<Delegate> delegate_; |
153 | 152 |
154 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow); | 153 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow); |
155 }; | 154 }; |
156 | 155 |
157 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ | 156 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ |
OLD | NEW |