Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebMemoryState.h |
| diff --git a/third_party/WebKit/public/platform/URLConversion.h b/third_party/WebKit/public/platform/WebMemoryState.h |
| similarity index 52% |
| copy from third_party/WebKit/public/platform/URLConversion.h |
| copy to third_party/WebKit/public/platform/WebMemoryState.h |
| index dbfa3fcda4911702e701bb5e0ea4e305f0897742..cfb8ebe95e59dddb20574cc94339c48e072eacc4 100644 |
| --- a/third_party/WebKit/public/platform/URLConversion.h |
| +++ b/third_party/WebKit/public/platform/WebMemoryState.h |
| @@ -2,18 +2,18 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef URLConversion_h |
| -#define URLConversion_h |
| - |
| -#include "WebCommon.h" |
| - |
| -class GURL; |
| +#ifndef WebMemoryState_h |
| +#define WebMemoryState_h |
| namespace blink { |
| -class WebString; |
| - |
| -BLINK_COMMON_EXPORT GURL WebStringToGURL(const WebString&); |
| +// These number must correspond to base::MemoryState. |
|
haraken
2016/10/07 11:45:30
numbers
hajimehoshi
2016/10/11 07:05:32
Done.
|
| +enum class MemoryState { |
| + UNKNOWN = -1, |
| + NORMAL = 0, |
| + THROTTLED = 1, |
| + SUSPENDED = 2, |
| +}; |
| } // namespace blink |