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

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

Issue 23684042: Eliminate NetworkManagerChanged (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
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_EVENT_ROUTER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 chromeos::disks::DiskMountManager::MountEvent event, 85 chromeos::disks::DiskMountManager::MountEvent event,
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::NetworkStateHandlerObserver overrides. 94 // chromeos::NetworkStateHandlerObserver overrides.
95 virtual void NetworkManagerChanged() OVERRIDE;
96 virtual void DefaultNetworkChanged( 95 virtual void DefaultNetworkChanged(
97 const chromeos::NetworkState* network) OVERRIDE; 96 const chromeos::NetworkState* network) OVERRIDE;
98 97
99 // drive::JobListObserver overrides. 98 // drive::JobListObserver overrides.
100 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE; 99 virtual void OnJobAdded(const drive::JobInfo& job_info) OVERRIDE;
101 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE; 100 virtual void OnJobUpdated(const drive::JobInfo& job_info) OVERRIDE;
102 virtual void OnJobDone(const drive::JobInfo& job_info, 101 virtual void OnJobDone(const drive::JobInfo& job_info,
103 drive::FileError error) OVERRIDE; 102 drive::FileError error) OVERRIDE;
104 103
105 // drive::DriveServiceObserver overrides. 104 // drive::DriveServiceObserver overrides.
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 184
186 // Note: This should remain the last member so it'll be destroyed and 185 // Note: This should remain the last member so it'll be destroyed and
187 // invalidate the weak pointers before any other members are destroyed. 186 // invalidate the weak pointers before any other members are destroyed.
188 base::WeakPtrFactory<EventRouter> weak_factory_; 187 base::WeakPtrFactory<EventRouter> weak_factory_;
189 DISALLOW_COPY_AND_ASSIGN(EventRouter); 188 DISALLOW_COPY_AND_ASSIGN(EventRouter);
190 }; 189 };
191 190
192 } // namespace file_manager 191 } // namespace file_manager
193 192
194 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_ 193 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698