chromium/chrome/common/apps/platform_apps/media_galleries_permission.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/common/apps/platform_apps/media_galleries_permission.h"

#include <stddef.h>

#include <set>
#include <string>

#include "base/notreached.h"
#include "base/strings/utf_string_conversions.h"
#include "extensions/common/permissions/permissions_info.h"
#include "ui/base/l10n/l10n_util.h"

APIPermissionID;

namespace chrome_apps {

namespace {

// copyTo permission requires delete permission as a prerequisite.
// delete permission requires read permission as a prerequisite.
bool IsValidPermissionSet(bool has_read,
                          bool has_copy_to,
                          bool has_delete,
                          std::string* error) {}

}  // namespace

const char MediaGalleriesPermission::kAllAutoDetectedPermission[] =;
const char MediaGalleriesPermission::kReadPermission[] =;
const char MediaGalleriesPermission::kCopyToPermission[] =;
const char MediaGalleriesPermission::kDeletePermission[] =;

MediaGalleriesPermission::MediaGalleriesPermission(
    const extensions::APIPermissionInfo* info)
    :{}

MediaGalleriesPermission::~MediaGalleriesPermission() {}

bool MediaGalleriesPermission::FromValue(
    const base::Value* value,
    std::string* error,
    std::vector<std::string>* unhandled_permissions) {}

extensions::PermissionIDSet MediaGalleriesPermission::GetPermissions() const {}

}  // namespace chrome_apps