| Index: third_party/WebKit/public/web/WebMemoryCoordinator.h
|
| diff --git a/third_party/WebKit/public/web/WebMemoryCoordinator.h b/third_party/WebKit/public/web/WebMemoryCoordinator.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..306b961c12f4523ff7079eacaa6deee5320a9b03
|
| --- /dev/null
|
| +++ b/third_party/WebKit/public/web/WebMemoryCoordinator.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2015 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 WebMemoryCoordinator_h
|
| +#define WebMemoryCoordinator_h
|
| +
|
| +#include "public/platform/WebCommon.h"
|
| +#include "public/platform/WebMemoryPressureLevel.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebMemoryCoordinator {
|
| +public:
|
| + // Called when a memory pressure notification is received.
|
| + BLINK_EXPORT static void onMemoryPressure(WebMemoryPressureLevel);
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif
|
|
|