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

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

Issue 2529083002: Make extensions developer mode adhere to policy (Closed)
Patch Set: Reviewers' comments Created 4 years 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void OnExtensionDisableReasonsChanged(const std::string& extension_id, 115 void OnExtensionDisableReasonsChanged(const std::string& extension_id,
116 int disable_reasons) override; 116 int disable_reasons) override;
117 117
118 // ExtensionManagement::Observer: 118 // ExtensionManagement::Observer:
119 void OnExtensionManagementSettingsChanged() override; 119 void OnExtensionManagementSettingsChanged() override;
120 120
121 // WarningService::Observer: 121 // WarningService::Observer:
122 void ExtensionWarningsChanged( 122 void ExtensionWarningsChanged(
123 const ExtensionIdSet& affected_extensions) override; 123 const ExtensionIdSet& affected_extensions) override;
124 124
125 // Handles a profile preferance change. 125 // Handles a profile preference change.
Andrew T Wilson (Slow) 2016/12/04 14:54:54 This is fine, but in general I don't like to pull
pmarko 2016/12/07 16:12:11 This was more of an accident - I was adding someth
126 void OnProfilePrefChanged(); 126 void OnProfilePrefChanged();
127 127
128 // Broadcasts an event to all listeners. 128 // Broadcasts an event to all listeners.
129 void BroadcastItemStateChanged(api::developer_private::EventType event_type, 129 void BroadcastItemStateChanged(api::developer_private::EventType event_type,
130 const std::string& id); 130 const std::string& id);
131 void BroadcastItemStateChangedHelper( 131 void BroadcastItemStateChangedHelper(
132 api::developer_private::EventType event_type, 132 api::developer_private::EventType event_type,
133 const std::string& extension_id, 133 const std::string& extension_id,
134 std::unique_ptr<ExtensionInfoGenerator> info_generator, 134 std::unique_ptr<ExtensionInfoGenerator> info_generator,
135 std::vector<api::developer_private::ExtensionInfo> infos); 135 std::vector<api::developer_private::ExtensionInfo> infos);
(...skipping 472 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 protected: 608 protected:
609 ~DeveloperPrivateUpdateExtensionCommandFunction() override; 609 ~DeveloperPrivateUpdateExtensionCommandFunction() override;
610 ResponseAction Run() override; 610 ResponseAction Run() override;
611 }; 611 };
612 612
613 } // namespace api 613 } // namespace api
614 614
615 } // namespace extensions 615 } // namespace extensions
616 616
617 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_ 617 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698