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

Side by Side Diff: chrome/browser/chromeos/ui/idle_logout_dialog_view.h

Issue 572873002: Declaring the weak_ptr_factory in proper order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build break fixed Created 6 years, 3 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
« no previous file with comments | « chrome/browser/chromeos/system/automatic_reboot_manager.h ('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 (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_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 static IdleLogoutDialogView* current_instance(); 70 static IdleLogoutDialogView* current_instance();
71 static void set_settings_provider(IdleLogoutSettingsProvider* provider); 71 static void set_settings_provider(IdleLogoutSettingsProvider* provider);
72 72
73 views::Label* restart_label_; 73 views::Label* restart_label_;
74 74
75 // Time at which the countdown is over and we should close the dialog. 75 // Time at which the countdown is over and we should close the dialog.
76 base::Time countdown_end_time_; 76 base::Time countdown_end_time_;
77 77
78 base::RepeatingTimer<IdleLogoutDialogView> timer_; 78 base::RepeatingTimer<IdleLogoutDialogView> timer_;
79 79
80 static IdleLogoutSettingsProvider* provider_;
81
80 base::WeakPtrFactory<IdleLogoutDialogView> weak_ptr_factory_; 82 base::WeakPtrFactory<IdleLogoutDialogView> weak_ptr_factory_;
81 83
82 static IdleLogoutSettingsProvider* provider_;
83
84 DISALLOW_COPY_AND_ASSIGN(IdleLogoutDialogView); 84 DISALLOW_COPY_AND_ASSIGN(IdleLogoutDialogView);
85 }; 85 };
86 86
87 } // namespace chromeos 87 } // namespace chromeos
88 88
89 #endif // CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_ 89 #endif // CHROME_BROWSER_CHROMEOS_UI_IDLE_LOGOUT_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/system/automatic_reboot_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698