Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(534)

Side by Side Diff: chrome/browser/browsing_data/mock_browsing_data_channel_id_helper.cc

Issue 1893083002: Change scoped_ptr to std::unique_ptr in //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scopedptr-net-all: iwyu Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/browsing_data/mock_browsing_data_channel_id_helper.h" 5 #include "chrome/browser/browsing_data/mock_browsing_data_channel_id_helper.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/scoped_ptr.h"
10 #include "base/stl_util.h" 11 #include "base/stl_util.h"
11 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
12 13
13 MockBrowsingDataChannelIDHelper::MockBrowsingDataChannelIDHelper() 14 MockBrowsingDataChannelIDHelper::MockBrowsingDataChannelIDHelper()
14 : BrowsingDataChannelIDHelper() {} 15 : BrowsingDataChannelIDHelper() {}
15 16
16 MockBrowsingDataChannelIDHelper:: 17 MockBrowsingDataChannelIDHelper::
17 ~MockBrowsingDataChannelIDHelper() {} 18 ~MockBrowsingDataChannelIDHelper() {}
18 19
19 void MockBrowsingDataChannelIDHelper::StartFetching( 20 void MockBrowsingDataChannelIDHelper::StartFetching(
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 pair.second = true; 54 pair.second = true;
54 } 55 }
55 56
56 bool MockBrowsingDataChannelIDHelper::AllDeleted() { 57 bool MockBrowsingDataChannelIDHelper::AllDeleted() {
57 for (const auto& pair : channel_ids_) { 58 for (const auto& pair : channel_ids_) {
58 if (pair.second) 59 if (pair.second)
59 return false; 60 return false;
60 } 61 }
61 return true; 62 return true;
62 } 63 }
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data/cookies_tree_model.h ('k') | chrome/browser/browsing_data/mock_browsing_data_cookie_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698