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

Side by Side Diff: chrome/browser/extensions/api/signed_in_devices/signed_in_devices_manager.cc

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Rebase Created 3 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
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698