uriloader/exthandler/android/nsOSHelperAppService.h

Wed, 31 Dec 2014 07:53:36 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:53:36 +0100
branch
TOR_BUG_3246
changeset 5
4ab42b5ab56c
permissions
-rw-r--r--

Correct small whitespace inconsistency, lost while renaming variables.

michael@0 1 /* -*- Mode: c++; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*-
michael@0 2 * This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 #ifndef nsOSHelperAppService_h
michael@0 7 #define nsOSHelperAppService_h
michael@0 8
michael@0 9 #include "nsCExternalHandlerService.h"
michael@0 10 #include "nsExternalHelperAppService.h"
michael@0 11
michael@0 12 class nsOSHelperAppService : public nsExternalHelperAppService
michael@0 13 {
michael@0 14 public:
michael@0 15 nsOSHelperAppService();
michael@0 16 virtual ~nsOSHelperAppService();
michael@0 17
michael@0 18 virtual already_AddRefed<nsIMIMEInfo>
michael@0 19 GetMIMEInfoFromOS(const nsACString& aMIMEType,
michael@0 20 const nsACString& aFileExt,
michael@0 21 bool* aFound);
michael@0 22
michael@0 23 virtual NS_HIDDEN_(nsresult)
michael@0 24 OSProtocolHandlerExists(const char* aScheme,
michael@0 25 bool* aExists);
michael@0 26
michael@0 27 NS_IMETHOD GetProtocolHandlerInfoFromOS(const nsACString &aScheme,
michael@0 28 bool *found,
michael@0 29 nsIHandlerInfo **_retval);
michael@0 30
michael@0 31 static nsIHandlerApp*
michael@0 32 CreateAndroidHandlerApp(const nsAString& aName,
michael@0 33 const nsAString& aDescription,
michael@0 34 const nsAString& aPackageName,
michael@0 35 const nsAString& aClassName,
michael@0 36 const nsACString& aMimeType,
michael@0 37 const nsAString& aAction = EmptyString());
michael@0 38 };
michael@0 39
michael@0 40 #endif /* nsOSHelperAppService_h */

mercurial