
Adds the SessionStorageLevelDBWrapper class, which works with the SessionStorageMetadata and SessionStorageDataMap classes to support shallow cloning for SessionStorage data maps. TBR-ing jam for content/browser/BUILD.gn TBR: jam@chromium.org Bug: 716490 Change-Id: I1a3ad1a79f39ef001bd4489591d6e99ab0f6347f Reviewed-on: https://chromium-review.googlesource.com/954410 Commit-Queue: Daniel Murphy <dmurph@chromium.org> Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#553288}
25 lines
598 B
C++
25 lines
598 B
C++
// Copyright 2018 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.
|
|
|
|
#include "testing/gmock/include/gmock/gmock.h"
|
|
|
|
#ifndef CONTENT_TEST_GMOCK_UTIL_H_
|
|
#define CONTENT_TEST_GMOCK_UTIL_H_
|
|
|
|
// This file contains gmock actions and matchers that integrate with concepts in
|
|
// /base.
|
|
|
|
namespace base {
|
|
namespace test {
|
|
|
|
// Defines a gmock action that runs a given closure.
|
|
ACTION_P(RunClosure, closure) {
|
|
closure.Run();
|
|
}
|
|
|
|
} // namespace test
|
|
} // namespace base
|
|
|
|
#endif // CONTENT_TEST_GMOCK_UTIL_H_
|