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

Side by Side Diff: chrome/browser/sync/engine/all_status.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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/ssl/ssl_manager.h ('k') | chrome/browser/sync/glue/generic_change_processor.h » ('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 // The AllStatus object watches various sync engine components and aggregates 5 // The AllStatus object watches various sync engine components and aggregates
6 // the status of all of them into one place. 6 // the status of all of them into one place.
7 7
8 #ifndef CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ 8 #ifndef CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_
9 #define CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ 9 #define CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_
10 #pragma once 10 #pragma once
(...skipping 12 matching lines...) Expand all
23 class Syncer; 23 class Syncer;
24 class SyncerThread; 24 class SyncerThread;
25 struct AuthWatcherEvent; 25 struct AuthWatcherEvent;
26 struct ServerConnectionEvent; 26 struct ServerConnectionEvent;
27 27
28 class AllStatus : public SyncEngineEventListener { 28 class AllStatus : public SyncEngineEventListener {
29 friend class ScopedStatusLock; 29 friend class ScopedStatusLock;
30 public: 30 public:
31 31
32 AllStatus(); 32 AllStatus();
33 ~AllStatus(); 33 virtual ~AllStatus();
34 34
35 void HandleServerConnectionEvent(const ServerConnectionEvent& event); 35 void HandleServerConnectionEvent(const ServerConnectionEvent& event);
36 36
37 void HandleAuthWatcherEvent(const AuthWatcherEvent& event); 37 void HandleAuthWatcherEvent(const AuthWatcherEvent& event);
38 38
39 virtual void OnSyncEngineEvent(const SyncEngineEvent& event); 39 virtual void OnSyncEngineEvent(const SyncEngineEvent& event);
40 40
41 sync_api::SyncManager::Status status() const; 41 sync_api::SyncManager::Status status() const;
42 42
43 void SetNotificationsEnabled(bool notifications_enabled); 43 void SetNotificationsEnabled(bool notifications_enabled);
(...skipping 21 matching lines...) Expand all
65 public: 65 public:
66 explicit ScopedStatusLock(AllStatus* allstatus); 66 explicit ScopedStatusLock(AllStatus* allstatus);
67 ~ScopedStatusLock(); 67 ~ScopedStatusLock();
68 protected: 68 protected:
69 AllStatus* allstatus_; 69 AllStatus* allstatus_;
70 }; 70 };
71 71
72 } // namespace browser_sync 72 } // namespace browser_sync
73 73
74 #endif // CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_ 74 #endif // CHROME_BROWSER_SYNC_ENGINE_ALL_STATUS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ssl/ssl_manager.h ('k') | chrome/browser/sync/glue/generic_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698