Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


SSL BoundStorageKeyParent.cpp  Interaktion und
PortierbarkeitC


/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#include "BoundStorageKeyParent.h"

#include "mozilla/dom/cache/ActorUtils.h"
#include "mozilla/dom/cache/PCacheStorageParent.h"
#include "mozilla/dom/quota/PrincipalUtils.h"
#include "mozilla/ipc/PBackgroundParent.h"

namespace mozilla::dom::cache {

using mozilla::ipc::PBackgroundParent;
using mozilla::ipc::PrincipalInfo;

BoundStorageKeyParent::BoundStorageKeyParent(
    PBackgroundParent* aBackgroundParent)
    : mBackgroundParent(aBackgroundParent) {
  MOZ_COUNT_CTOR(BoundStorageKeyParent);
}

BoundStorageKeyParent::~BoundStorageKeyParent() {
  MOZ_COUNT_DTOR(BoundStorageKeyParent);
}

// declared in ActorUtils.h
already_AddRefed<dom::cache::PCacheStorageParent>
BoundStorageKeyParent::AllocPCacheStorageParent(
    const Namespace& aNamespace, const PrincipalInfo& aPrincipalInfo) {
  if (!mBackgroundParent || !mBackgroundParent->CanSend()) {
    return nullptr;
  }
  return dom::cache::AllocPCacheStorageParent(mBackgroundParent, this,
                                              aNamespace, aPrincipalInfo);
}

}  // namespace mozilla::dom::cache

Messung
CHZG
859910094

¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.111Angebot  ¤

*Eine klare Vorstellung vom Zielzustand







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,878
#Domains=963,287