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

Side by Side Diff: chrome/common/chrome_notification_types.h

Issue 11312124: Send a notification when the signed-in user is about to sign out. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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
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_COMMON_CHROME_NOTIFICATION_TYPES_H_ 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/notification_types.h" 9 #include "content/public/browser/notification_types.h"
10 10
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 // Sent when a user signs into Google services such as sync. 914 // Sent when a user signs into Google services such as sync.
915 // The source is the Profile. The details are a 915 // The source is the Profile. The details are a
916 // GoogleServiceSigninSuccessDetails object. 916 // GoogleServiceSigninSuccessDetails object.
917 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL, 917 NOTIFICATION_GOOGLE_SIGNIN_SUCCESSFUL,
918 918
919 // Sent when a user fails to sign into Google services such as sync. 919 // Sent when a user fails to sign into Google services such as sync.
920 // The source is the Profile. The details are a GoogleServiceAuthError 920 // The source is the Profile. The details are a GoogleServiceAuthError
921 // object. 921 // object.
922 NOTIFICATION_GOOGLE_SIGNIN_FAILED, 922 NOTIFICATION_GOOGLE_SIGNIN_FAILED,
923 923
924 // Sent when the currently signed-in user will sign out.
925 // The source is the Profile. The details are a
926 // GoogleServiceSignoutDetails object.
927 NOTIFICATION_GOOGLE_WILL_SIGN_OUT,
928
924 // Sent when the currently signed-in user for a user has been signed out. 929 // Sent when the currently signed-in user for a user has been signed out.
925 // The source is the Profile. The details are a 930 // The source is the Profile. The details are a
926 // GoogleServiceSignoutDetails object. 931 // GoogleServiceSignoutDetails object.
927 NOTIFICATION_GOOGLE_SIGNED_OUT, 932 NOTIFICATION_GOOGLE_SIGNED_OUT,
928 933
929 // Autofill Notifications -------------------------------------------------- 934 // Autofill Notifications --------------------------------------------------
930 935
931 // Sent when a popup with Autofill suggestions is shown in the renderer. 936 // Sent when a popup with Autofill suggestions is shown in the renderer.
932 // The source is the corresponding RenderViewHost. There are not details. 937 // The source is the corresponding RenderViewHost. There are not details.
933 NOTIFICATION_AUTOFILL_DID_SHOW_SUGGESTIONS, 938 NOTIFICATION_AUTOFILL_DID_SHOW_SUGGESTIONS,
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1264 // Currently only Content and Chrome define and use notifications. 1269 // Currently only Content and Chrome define and use notifications.
1265 // Custom notifications not belonging to Content and Chrome should start 1270 // Custom notifications not belonging to Content and Chrome should start
1266 // from here. 1271 // from here.
1267 NOTIFICATION_CHROME_END, 1272 NOTIFICATION_CHROME_END,
1268 }; 1273 };
1269 1274
1270 } // namespace chrome 1275 } // namespace chrome
1271 1276
1272 1277
1273 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ 1278 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_
OLDNEW
« chrome/browser/signin/signin_manager.cc ('K') | « chrome/browser/signin/signin_manager_fake.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698