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

Side by Side Diff: chrome/browser/ui/avatar_button_error_controller.h

Issue 2203673002: [Sync] Move //components/sync_driver to //components/sync/driver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@sd-a
Patch Set: Full change rebased on static lib. Created 4 years, 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_AVATAR_BUTTON_ERROR_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_H_
7 7
8 #include "chrome/browser/ui/avatar_button_error_controller_delegate.h" 8 #include "chrome/browser/ui/avatar_button_error_controller_delegate.h"
9 #include "components/signin/core/browser/signin_error_controller.h" 9 #include "components/signin/core/browser/signin_error_controller.h"
10 #include "components/sync_driver/sync_error_controller.h" 10 #include "components/sync/driver/sync_error_controller.h"
11 11
12 class Profile; 12 class Profile;
13 13
14 // Keeps track of the signin and sync errors that should be exposed to the user 14 // Keeps track of the signin and sync errors that should be exposed to the user
15 // in the avatar button. 15 // in the avatar button.
16 class AvatarButtonErrorController { 16 class AvatarButtonErrorController {
17 public: 17 public:
18 AvatarButtonErrorController(AvatarButtonErrorControllerDelegate* delegate, 18 AvatarButtonErrorController(AvatarButtonErrorControllerDelegate* delegate,
19 Profile* profile); 19 Profile* profile);
20 ~AvatarButtonErrorController(); 20 ~AvatarButtonErrorController();
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 SigninErrorObserver avatar_signin_error_controller_; 77 SigninErrorObserver avatar_signin_error_controller_;
78 SyncErrorObserver avatar_sync_error_controller_; 78 SyncErrorObserver avatar_sync_error_controller_;
79 79
80 bool has_signin_error_; 80 bool has_signin_error_;
81 bool has_sync_error_; 81 bool has_sync_error_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(AvatarButtonErrorController); 83 DISALLOW_COPY_AND_ASSIGN(AvatarButtonErrorController);
84 }; 84 };
85 85
86 #endif // CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_H_ 86 #endif // CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/app_sync_ui_state.h ('k') | chrome/browser/ui/cocoa/app_menu/app_menu_controller_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698