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

Side by Side Diff: chrome/browser/browser_signin.h

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_signin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_SIGNIN_H_ 5 #ifndef CHROME_BROWSER_BROWSER_SIGNIN_H_
6 #define CHROME_BROWSER_BROWSER_SIGNIN_H_ 6 #define CHROME_BROWSER_BROWSER_SIGNIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const string16& suggested_email, 59 const string16& suggested_email,
60 const string16& login_message, 60 const string16& login_message,
61 SigninDelegate* delegate); 61 SigninDelegate* delegate);
62 62
63 // Returns the username of the user currently signed in. If no 63 // Returns the username of the user currently signed in. If no
64 // user is signed in, returns the empty string. virtual for test 64 // user is signed in, returns the empty string. virtual for test
65 // override. 65 // override.
66 virtual std::string GetSignedInUsername() const; 66 virtual std::string GetSignedInUsername() const;
67 67
68 // NotificationObserver implementation. 68 // NotificationObserver implementation.
69 virtual void Observe(NotificationType type, 69 virtual void Observe(int type,
70 const NotificationSource& source, 70 const NotificationSource& source,
71 const NotificationDetails& details); 71 const NotificationDetails& details);
72 72
73 ProfileSyncService* GetProfileSyncService() const; 73 ProfileSyncService* GetProfileSyncService() const;
74 74
75 // Close the dialog. Delegate's OnLoginFailure method will be called. 75 // Close the dialog. Delegate's OnLoginFailure method will be called.
76 void Cancel(); 76 void Cancel();
77 77
78 private: 78 private:
79 // Create the HTML Dialog content. 79 // Create the HTML Dialog content.
(...skipping 27 matching lines...) Expand all
107 // attached to. 107 // attached to.
108 BrowserSigninHtml* html_dialog_ui_delegate_; 108 BrowserSigninHtml* html_dialog_ui_delegate_;
109 109
110 NotificationRegistrar registrar_; 110 NotificationRegistrar registrar_;
111 111
112 DISALLOW_COPY_AND_ASSIGN(BrowserSignin); 112 DISALLOW_COPY_AND_ASSIGN(BrowserSignin);
113 }; 113 };
114 114
115 115
116 #endif // CHROME_BROWSER_BROWSER_SIGNIN_H_ 116 #endif // CHROME_BROWSER_BROWSER_SIGNIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser_process_impl.cc ('k') | chrome/browser/browser_signin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698