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

Side by Side Diff: chrome/browser/printing/cloud_print/cloud_print_setup_flow.h

Issue 7554008: Removal of Profile from content part 6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Profile helper function, rebase Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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" 12 #include "base/time.h"
13 #include "chrome/browser/ui/webui/html_dialog_ui.h" 13 #include "chrome/browser/ui/webui/html_dialog_ui.h"
14 #include "chrome/common/net/gaia/gaia_auth_consumer.h" 14 #include "chrome/common/net/gaia/gaia_auth_consumer.h"
15 #include "chrome/common/net/gaia/gaia_auth_fetcher.h" 15 #include "chrome/common/net/gaia/gaia_auth_fetcher.h"
16 #include "chrome/common/net/gaia/google_service_auth_error.h" 16 #include "chrome/common/net/gaia/google_service_auth_error.h"
17 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
18 #include "ui/base/l10n/l10n_util.h" 18 #include "ui/base/l10n/l10n_util.h"
19 #include "ui/gfx/native_widget_types.h" 19 #include "ui/gfx/native_widget_types.h"
20 20
21 class GaiaAuthFetcher; 21 class Browser;
22 class CloudPrintServiceProcessHelper; 22 class CloudPrintServiceProcessHelper;
23 class CloudPrintSetupMessageHandler; 23 class CloudPrintSetupMessageHandler;
24 class GaiaAuthFetcher;
25 class GoogleServiceAuthError;
26 class Profile;
24 class ServiceProcessControl; 27 class ServiceProcessControl;
25 class GoogleServiceAuthError;
26 class Browser;
27 28
28 namespace base { 29 namespace base {
29 class DictionaryValue; 30 class DictionaryValue;
30 } 31 }
31 32
32 // This class is responsible for showing a cloud print setup dialog 33 // This class is responsible for showing a cloud print setup dialog
33 // and perform operations to fill the content of the dialog and handle 34 // and perform operations to fill the content of the dialog and handle
34 // user actions in the dialog. 35 // user actions in the dialog.
35 // 36 //
36 // It is responsible for: 37 // It is responsible for:
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool setup_done_; 143 bool setup_done_;
143 144
144 // Handle to the ServiceProcessControl which talks to the service process. 145 // Handle to the ServiceProcessControl which talks to the service process.
145 ServiceProcessControl* process_control_; 146 ServiceProcessControl* process_control_;
146 base::WeakPtr<Delegate> delegate_; 147 base::WeakPtr<Delegate> delegate_;
147 148
148 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow); 149 DISALLOW_COPY_AND_ASSIGN(CloudPrintSetupFlow);
149 }; 150 };
150 151
151 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_ 152 #endif // CHROME_BROWSER_PRINTING_CLOUD_PRINT_CLOUD_PRINT_SETUP_FLOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_ui.cc ('k') | chrome/browser/printing/print_dialog_cloud.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698