OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "chrome/browser/extensions/api/signed_in_devices/signed_in_devices_mana
ger.h" | 5 #include "chrome/browser/extensions/api/signed_in_devices/signed_in_devices_mana
ger.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 if ((*it)->extension_id() == extension_id) { | 151 if ((*it)->extension_id() == extension_id) { |
152 change_observers_.erase(it); | 152 change_observers_.erase(it); |
153 return; | 153 return; |
154 } | 154 } |
155 } | 155 } |
156 } | 156 } |
157 | 157 |
158 void SignedInDevicesManager::OnExtensionUnloaded( | 158 void SignedInDevicesManager::OnExtensionUnloaded( |
159 content::BrowserContext* browser_context, | 159 content::BrowserContext* browser_context, |
160 const Extension* extension, | 160 const Extension* extension, |
161 UnloadedExtensionInfo::Reason reason) { | 161 UnloadedExtensionReason reason) { |
162 RemoveChangeObserverForExtension(extension->id()); | 162 RemoveChangeObserverForExtension(extension->id()); |
163 } | 163 } |
164 | 164 |
165 } // namespace extensions | 165 } // namespace extensions |
OLD | NEW |