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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/auto_enrollment_check_screen_handler.h

Issue 315703002: Add a missing call to NULL-ify the delegate of the AutoEnrollmentScreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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/chromeos/login/enrollment/auto_enrollment_check_screen.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_LOGIN_AUTO_ENROLLMENT_CHECK_SCREEN_HAND LER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_AUTO_ENROLLMENT_CHECK_SCREEN_HAND LER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_AUTO_ENROLLMENT_CHECK_SCREEN_HAND LER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_AUTO_ENROLLMENT_CHECK_SCREEN_HAND LER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_ actor.h" 9 #include "chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen_ actor.h"
10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" 10 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
(...skipping 17 matching lines...) Expand all
28 virtual void SetDelegate(Delegate* delegate) OVERRIDE; 28 virtual void SetDelegate(Delegate* delegate) OVERRIDE;
29 29
30 // BaseScreenHandler implementation: 30 // BaseScreenHandler implementation:
31 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; 31 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE;
32 virtual void Initialize() OVERRIDE; 32 virtual void Initialize() OVERRIDE;
33 33
34 // WebUIMessageHandler implementation: 34 // WebUIMessageHandler implementation:
35 virtual void RegisterMessages() OVERRIDE; 35 virtual void RegisterMessages() OVERRIDE;
36 36
37 private: 37 private:
38 // JS messages handlers.
39 void HandleOnSkip();
pastarmovj 2014/06/03 18:44:48 This is just a clean-up I noticed while investigat
40
41 Delegate* delegate_; 38 Delegate* delegate_;
42 39
43 // Keeps whether screen should be shown right after initialization. 40 // Keeps whether screen should be shown right after initialization.
44 bool show_on_init_; 41 bool show_on_init_;
45 42
46 DISALLOW_COPY_AND_ASSIGN(AutoEnrollmentCheckScreenHandler); 43 DISALLOW_COPY_AND_ASSIGN(AutoEnrollmentCheckScreenHandler);
47 }; 44 };
48 45
49 } // namespace chromeos 46 } // namespace chromeos
50 47
51 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_AUTO_ENROLLMENT_CHECK_SCREEN_H ANDLER_H_ 48 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_AUTO_ENROLLMENT_CHECK_SCREEN_H ANDLER_H_
52 49
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/enrollment/auto_enrollment_check_screen.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698