OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ios/web/public/browsing_data_partition_client.h" |
| 6 |
| 7 namespace web { |
| 8 |
| 9 namespace { |
| 10 |
| 11 static BrowsingDataPartitionClient* g_client; |
| 12 |
| 13 } // namespace |
| 14 |
| 15 void SetBrowsingDataPartitionClient(BrowsingDataPartitionClient* client) { |
| 16 g_client = client; |
| 17 } |
| 18 |
| 19 BrowsingDataPartitionClient* GetBrowsingDataPartitionClient() { |
| 20 return g_client; |
| 21 } |
| 22 |
| 23 BrowsingDataPartitionClient::BrowsingDataPartitionClient() {} |
| 24 BrowsingDataPartitionClient::~BrowsingDataPartitionClient() {} |
| 25 |
| 26 } // namespace web |
OLD | NEW |