
Use blink::mojom::ConsoleMessageLevel, rather than ensuring that the AppCacheLogLevel values are kept in sync with the values defined in Blink. Bug: 611938 Change-Id: Ia74ac62ba6ec3ee4ef2cc07d7b8a5075699018d5 Reviewed-on: https://chromium-review.googlesource.com/c/1442531 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Commit-Queue: Staphany Park <staphany@chromium.org> Cr-Commit-Position: refs/heads/master@{#627255}
25 lines
712 B
C++
25 lines
712 B
C++
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef CONTENT_COMMON_APPCACHE_INTERFACES_H_
|
|
#define CONTENT_COMMON_APPCACHE_INTERFACES_H_
|
|
|
|
#include <string>
|
|
|
|
#include "content/common/content_export.h"
|
|
#include "url/gurl.h"
|
|
|
|
namespace content {
|
|
|
|
// Useful string constants.
|
|
CONTENT_EXPORT extern const char kHttpGETMethod[];
|
|
CONTENT_EXPORT extern const char kHttpHEADMethod[];
|
|
|
|
CONTENT_EXPORT bool IsSchemeSupportedForAppCache(const GURL& url);
|
|
CONTENT_EXPORT bool IsMethodSupportedForAppCache(const std::string& method);
|
|
|
|
} // namespace
|
|
|
|
#endif // CONTENT_COMMON_APPCACHE_INTERFACES_H_
|