| Index: ios/web/public/browsing_data_partition_client.cc
|
| diff --git a/ios/web/public/browsing_data_partition_client.cc b/ios/web/public/browsing_data_partition_client.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a5f8280f3d118e4947ba74b770735c3e695e319
|
| --- /dev/null
|
| +++ b/ios/web/public/browsing_data_partition_client.cc
|
| @@ -0,0 +1,26 @@
|
| +// 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.
|
| +
|
| +#include "ios/web/public/browsing_data_partition_client.h"
|
| +
|
| +namespace web {
|
| +
|
| +namespace {
|
| +
|
| +static BrowsingDataPartitionClient* g_client;
|
| +
|
| +} // namespace
|
| +
|
| +void SetBrowsingDataPartitionClient(BrowsingDataPartitionClient* client) {
|
| + g_client = client;
|
| +}
|
| +
|
| +BrowsingDataPartitionClient* GetBrowsingDataPartitionClient() {
|
| + return g_client;
|
| +}
|
| +
|
| +BrowsingDataPartitionClient::BrowsingDataPartitionClient() {}
|
| +BrowsingDataPartitionClient::~BrowsingDataPartitionClient() {}
|
| +
|
| +} // namespace web
|
|
|