| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/public/browser/browser_context.h" | 5 #include "content/public/browser/browser_context.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 560 } | 560 } |
| 561 | 561 |
| 562 // static | 562 // static |
| 563 std::string BrowserContext::CreateRandomMediaDeviceIDSalt() { | 563 std::string BrowserContext::CreateRandomMediaDeviceIDSalt() { |
| 564 std::string salt; | 564 std::string salt; |
| 565 base::Base64Encode(base::RandBytesAsString(16), &salt); | 565 base::Base64Encode(base::RandBytesAsString(16), &salt); |
| 566 DCHECK(!salt.empty()); | 566 DCHECK(!salt.empty()); |
| 567 return salt; | 567 return salt; |
| 568 } | 568 } |
| 569 | 569 |
| 570 BrowsingDataRemoverDelegate* BrowserContext::GetBrowsingDataRemoverDelegate() { | |
| 571 return nullptr; | |
| 572 } | |
| 573 | |
| 574 } // namespace content | 570 } // namespace content |
| OLD | NEW |