Bug 1368102: Part 1 - Make AddonManagerWebAPI::IsValidSite public. r=aswan
authorKris Maglione <maglione.k@gmail.com>
Tue, 23 May 2017 12:35:35 -0700
changeset 410373 863506a00d8362e8fe180001d0d4183c1b1f9d3c
parent 410372 e6001a0646bb46df0266896fe5bf2069b6cfadae
child 410374 056e3d934eb26523b35fcdd4b1cdadca2c8bb190
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaswan
bugs1368102
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1368102: Part 1 - Make AddonManagerWebAPI::IsValidSite public. r=aswan MozReview-Commit-ID: JNNyfY8eabB
toolkit/mozapps/extensions/AddonManagerWebAPI.h
--- a/toolkit/mozapps/extensions/AddonManagerWebAPI.h
+++ b/toolkit/mozapps/extensions/AddonManagerWebAPI.h
@@ -10,17 +10,16 @@
 #include "nsPIDOMWindow.h"
 
 namespace mozilla {
 
 class AddonManagerWebAPI {
 public:
   static bool IsAPIEnabled(JSContext* cx, JSObject* obj);
 
-private:
   static bool IsValidSite(nsIURI* uri);
 };
 
 namespace dom {
 
 class AddonManagerPermissions {
 public:
   static bool IsHostPermitted(const GlobalObject&, const nsAString& host);