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

Side by Side Diff: chrome/browser/chromeos/login/screens/update_model.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_LOGIN_SCREENS_UPDATE_MODEL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_
7 7
8 #include "chrome/browser/chromeos/login/screens/base_screen.h" 8 #include "chrome/browser/chromeos/login/screens/base_screen.h"
9 9
10 namespace base {
11 class ListValue;
12 }
13
14 namespace chromeos { 10 namespace chromeos {
15 11
16 class BaseScreenDelegate; 12 class BaseScreenDelegate;
17 class UpdateView; 13 class UpdateView;
18 14
19 class UpdateModel : public BaseScreen { 15 class UpdateModel : public BaseScreen {
20 public: 16 public:
21 static const char kUserActionCancelUpdateShortcut[]; 17 static const char kUserActionCancelUpdateShortcut[];
22 static const char kContextKeyEstimatedTimeLeftSec[]; 18 static const char kContextKeyEstimatedTimeLeftSec[];
23 static const char kContextKeyShowEstimatedTimeLeft[]; 19 static const char kContextKeyShowEstimatedTimeLeft[];
(...skipping 11 matching lines...) Expand all
35 std::string GetName() const override; 31 std::string GetName() const override;
36 32
37 // This method is called, when view is being destroyed. Note, if model 33 // This method is called, when view is being destroyed. Note, if model
38 // is destroyed earlier then it has to call Unbind(). 34 // is destroyed earlier then it has to call Unbind().
39 virtual void OnViewDestroyed(UpdateView* view) = 0; 35 virtual void OnViewDestroyed(UpdateView* view) = 0;
40 }; 36 };
41 37
42 } // namespace chromeos 38 } // namespace chromeos
43 39
44 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_ 40 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_UPDATE_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screens/network_error_model.h ('k') | chrome/browser/chromeos/login/screens/user_image_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698