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

Side by Side Diff: chrome/browser/extensions/api/developer_private/developer_private_api.h

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 (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_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/files/file.h" 10 #include "base/files/file.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 // Add or remove an ID to the list of extensions subscribed to events. 66 // Add or remove an ID to the list of extensions subscribed to events.
67 void AddExtensionId(const std::string& extension_id); 67 void AddExtensionId(const std::string& extension_id);
68 void RemoveExtensionId(const std::string& extension_id); 68 void RemoveExtensionId(const std::string& extension_id);
69 69
70 private: 70 private:
71 // ExtensionRegistryObserver: 71 // ExtensionRegistryObserver:
72 void OnExtensionLoaded(content::BrowserContext* browser_context, 72 void OnExtensionLoaded(content::BrowserContext* browser_context,
73 const Extension* extension) override; 73 const Extension* extension) override;
74 void OnExtensionUnloaded(content::BrowserContext* browser_context, 74 void OnExtensionUnloaded(content::BrowserContext* browser_context,
75 const Extension* extension, 75 const Extension* extension,
76 UnloadedExtensionInfo::Reason reason) override; 76 UnloadedExtensionReason reason) override;
77 void OnExtensionInstalled(content::BrowserContext* browser_context, 77 void OnExtensionInstalled(content::BrowserContext* browser_context,
78 const Extension* extension, 78 const Extension* extension,
79 bool is_update) override; 79 bool is_update) override;
80 void OnExtensionUninstalled(content::BrowserContext* browser_context, 80 void OnExtensionUninstalled(content::BrowserContext* browser_context,
81 const Extension* extension, 81 const Extension* extension,
82 extensions::UninstallReason reason) override; 82 extensions::UninstallReason reason) override;
83 83
84 // ErrorConsole::Observer: 84 // ErrorConsole::Observer:
85 void OnErrorAdded(const ExtensionError* error) override; 85 void OnErrorAdded(const ExtensionError* error) override;
86 void OnErrorsRemoved(const std::set<std::string>& extension_ids) override; 86 void OnErrorsRemoved(const std::set<std::string>& extension_ids) override;
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 protected: 643 protected:
644 ~DeveloperPrivateUpdateExtensionCommandFunction() override; 644 ~DeveloperPrivateUpdateExtensionCommandFunction() override;
645 ResponseAction Run() override; 645 ResponseAction Run() override;
646 }; 646 };
647 647
648 } // namespace api 648 } // namespace api
649 649
650 } // namespace extensions 650 } // namespace extensions
651 651
652 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_ 652 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698