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

Side by Side Diff: chrome/browser/sync/sync_global_error.h

Issue 7978013: Update global error UI on sync error change (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sync/sync_global_error.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_SYNC_SYNC_GLOBAL_ERROR_H_ 5 #ifndef CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_
6 #define CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ 6 #define CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 27 matching lines...) Expand all
38 virtual void BubbleViewCancelButtonPressed() OVERRIDE; 38 virtual void BubbleViewCancelButtonPressed() OVERRIDE;
39 39
40 // ProfileSyncServiceObserver implementation. 40 // ProfileSyncServiceObserver implementation.
41 virtual void OnStateChanged() OVERRIDE; 41 virtual void OnStateChanged() OVERRIDE;
42 42
43 // For non-ChromeOS we customize the "Sign in to sync" wrench menu item 43 // For non-ChromeOS we customize the "Sign in to sync" wrench menu item
44 // instead of adding a new wrench menu item at the bottom. 44 // instead of adding a new wrench menu item at the bottom.
45 bool HasCustomizedSyncMenuItem(); 45 bool HasCustomizedSyncMenuItem();
46 46
47 private: 47 private:
48 bool has_error_;
48 ProfileSyncService* service_; 49 ProfileSyncService* service_;
49 50
50 DISALLOW_COPY_AND_ASSIGN(SyncGlobalError); 51 DISALLOW_COPY_AND_ASSIGN(SyncGlobalError);
51 }; 52 };
52 53
53 #endif // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_ 54 #endif // CHROME_BROWSER_SYNC_SYNC_GLOBAL_ERROR_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/sync_global_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698