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

Side by Side Diff: chrome/browser/ui/webui/sync_promo/sync_promo_handler2.h

Issue 9295044: Start moving signin code out of browser/sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up unnecessary inclusions of signin_manager.h Created 8 years, 10 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) 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_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_
6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/webui/sync_setup_handler2.h" 9 #include "chrome/browser/ui/webui/sync_setup_handler2.h"
10 10
(...skipping 20 matching lines...) Expand all
31 virtual void ShowGaiaSuccessAndClose() OVERRIDE; 31 virtual void ShowGaiaSuccessAndClose() OVERRIDE;
32 virtual void ShowGaiaSuccessAndSettingUp() OVERRIDE; 32 virtual void ShowGaiaSuccessAndSettingUp() OVERRIDE;
33 virtual void ShowConfigure(const base::DictionaryValue& args) OVERRIDE; 33 virtual void ShowConfigure(const base::DictionaryValue& args) OVERRIDE;
34 34
35 // content::NotificationObserver implementation. 35 // content::NotificationObserver implementation.
36 virtual void Observe(int type, 36 virtual void Observe(int type,
37 const content::NotificationSource& source, 37 const content::NotificationSource& source,
38 const content::NotificationDetails& details) OVERRIDE; 38 const content::NotificationDetails& details) OVERRIDE;
39 39
40 protected: 40 protected:
41 virtual void StepWizardForShowSetupUI() OVERRIDE;
42
43 virtual void ShowSetupUI() OVERRIDE; 41 virtual void ShowSetupUI() OVERRIDE;
44 42
45 private: 43 private:
46 // JavaScript callback handler to close the sync promo. 44 // JavaScript callback handler to close the sync promo.
47 void HandleCloseSyncPromo(const base::ListValue* args); 45 void HandleCloseSyncPromo(const base::ListValue* args);
48 46
49 // Gets the sync promo layout for the current sync promo version. 47 // Gets the sync promo layout for the current sync promo version.
50 int GetPromoVersion(); 48 int GetPromoVersion();
51 49
52 // JavaScript callback handler to initialize the sync promo. 50 // JavaScript callback handler to initialize the sync promo.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 // Extra UMA histogram name to log stats to, based on the source for showing 98 // Extra UMA histogram name to log stats to, based on the source for showing
101 // the sync promo page. 99 // the sync promo page.
102 std::string histogram_name_; 100 std::string histogram_name_;
103 101
104 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler2); 102 DISALLOW_COPY_AND_ASSIGN(SyncPromoHandler2);
105 }; 103 };
106 104
107 } // namespace options2 105 } // namespace options2
108 106
109 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_ 107 #endif // CHROME_BROWSER_UI_WEBUI_SYNC_PROMO_SYNC_PROMO_HANDLER2_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/sync_promo/sync_promo_handler.cc ('k') | chrome/browser/ui/webui/sync_promo/sync_promo_handler2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698