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

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

Issue 1105683003: [Extensions Page] Add a listener on extension list for "hasExtensions" changing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.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_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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 void AddExtensionId(const std::string& extension_id); 76 void AddExtensionId(const std::string& extension_id);
77 void RemoveExtensionId(const std::string& extension_id); 77 void RemoveExtensionId(const std::string& extension_id);
78 78
79 private: 79 private:
80 // ExtensionRegistryObserver: 80 // ExtensionRegistryObserver:
81 void OnExtensionLoaded(content::BrowserContext* browser_context, 81 void OnExtensionLoaded(content::BrowserContext* browser_context,
82 const Extension* extension) override; 82 const Extension* extension) override;
83 void OnExtensionUnloaded(content::BrowserContext* browser_context, 83 void OnExtensionUnloaded(content::BrowserContext* browser_context,
84 const Extension* extension, 84 const Extension* extension,
85 UnloadedExtensionInfo::Reason reason) override; 85 UnloadedExtensionInfo::Reason reason) override;
86 void OnExtensionWillBeInstalled(content::BrowserContext* browser_context, 86 void OnExtensionInstalled(content::BrowserContext* browser_context,
87 const Extension* extension, 87 const Extension* extension,
88 bool is_update, 88 bool is_update) override;
89 bool from_ephemeral,
90 const std::string& old_name) override;
91 void OnExtensionUninstalled(content::BrowserContext* browser_context, 89 void OnExtensionUninstalled(content::BrowserContext* browser_context,
92 const Extension* extension, 90 const Extension* extension,
93 extensions::UninstallReason reason) override; 91 extensions::UninstallReason reason) override;
94 92
95 // ErrorConsole::Observer: 93 // ErrorConsole::Observer:
96 void OnErrorAdded(const ExtensionError* error) override; 94 void OnErrorAdded(const ExtensionError* error) override;
97 95
98 // ProcessManagerObserver: 96 // ProcessManagerObserver:
99 void OnExtensionFrameRegistered( 97 void OnExtensionFrameRegistered(
100 const std::string& extension_id, 98 const std::string& extension_id,
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 protected: 526 protected:
529 ~DeveloperPrivateShowPathFunction() override; 527 ~DeveloperPrivateShowPathFunction() override;
530 ResponseAction Run() override; 528 ResponseAction Run() override;
531 }; 529 };
532 530
533 } // namespace api 531 } // namespace api
534 532
535 } // namespace extensions 533 } // namespace extensions
536 534
537 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_ 535 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698