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

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.h

Issue 14587002: Add DefaultNetworkChanged signal for ConnectivityStateHelper observers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.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) 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_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE R_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE R_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE R_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTE R_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 chromeos::MountError error_code, 86 chromeos::MountError error_code,
87 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info) 87 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info)
88 OVERRIDE; 88 OVERRIDE;
89 virtual void OnFormatEvent( 89 virtual void OnFormatEvent(
90 chromeos::disks::DiskMountManager::FormatEvent event, 90 chromeos::disks::DiskMountManager::FormatEvent event,
91 chromeos::FormatError error_code, 91 chromeos::FormatError error_code,
92 const std::string& device_path) OVERRIDE; 92 const std::string& device_path) OVERRIDE;
93 93
94 // chromeos::ConnectivityStateHelperObserver override. 94 // chromeos::ConnectivityStateHelperObserver override.
95 virtual void NetworkManagerChanged() OVERRIDE; 95 virtual void NetworkManagerChanged() OVERRIDE;
96 virtual void DefaultNetworkChanged() OVERRIDE;
96 97
97 // drive::JobListObserver overrides. 98 // drive::JobListObserver overrides.
98 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE; 99 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE;
99 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE; 100 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE;
100 virtual void OnJobDone(const drive::JobInfo& job_info, 101 virtual void OnJobDone(const drive::JobInfo& job_info,
101 drive::FileError error) OVERRIDE; 102 drive::FileError error) OVERRIDE;
102 103
103 // drive::DriveServiceObserver overrides. 104 // drive::DriveServiceObserver overrides.
104 virtual void OnRefreshTokenInvalid() OVERRIDE; 105 virtual void OnRefreshTokenInvalid() OVERRIDE;
105 106
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 scoped_ptr<SuspendStateDelegate> suspend_state_delegate_; 223 scoped_ptr<SuspendStateDelegate> suspend_state_delegate_;
223 Profile* profile_; 224 Profile* profile_;
224 225
225 // Note: This should remain the last member so it'll be destroyed and 226 // Note: This should remain the last member so it'll be destroyed and
226 // invalidate the weak pointers before any other members are destroyed. 227 // invalidate the weak pointers before any other members are destroyed.
227 base::WeakPtrFactory<FileManagerEventRouter> weak_factory_; 228 base::WeakPtrFactory<FileManagerEventRouter> weak_factory_;
228 DISALLOW_COPY_AND_ASSIGN(FileManagerEventRouter); 229 DISALLOW_COPY_AND_ASSIGN(FileManagerEventRouter);
229 }; 230 };
230 231
231 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_RO UTER_H_ 232 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_RO UTER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698