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

Side by Side Diff: chrome/browser/mock_browsing_data_cookie_helper.cc

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/mac/keystone_glue.mm ('k') | chrome/browser/net/connection_tester.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/mock_browsing_data_cookie_helper.h" 5 #include "chrome/browser/mock_browsing_data_cookie_helper.h"
6 6
7 #include "base/logging.h"
8
7 MockBrowsingDataCookieHelper::MockBrowsingDataCookieHelper(Profile* profile) 9 MockBrowsingDataCookieHelper::MockBrowsingDataCookieHelper(Profile* profile)
8 : BrowsingDataCookieHelper(profile), 10 : BrowsingDataCookieHelper(profile),
9 profile_(profile) { 11 profile_(profile) {
10 } 12 }
11 13
12 MockBrowsingDataCookieHelper::~MockBrowsingDataCookieHelper() { 14 MockBrowsingDataCookieHelper::~MockBrowsingDataCookieHelper() {
13 } 15 }
14 16
15 void MockBrowsingDataCookieHelper::StartFetching( 17 void MockBrowsingDataCookieHelper::StartFetching(
16 const net::CookieMonster::GetCookieListCallback &callback) { 18 const net::CookieMonster::GetCookieListCallback &callback) {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 i->second = true; 62 i->second = true;
61 } 63 }
62 64
63 bool MockBrowsingDataCookieHelper::AllDeleted() { 65 bool MockBrowsingDataCookieHelper::AllDeleted() {
64 for (std::map<const std::string, bool>::const_iterator i = cookies_.begin(); 66 for (std::map<const std::string, bool>::const_iterator i = cookies_.begin();
65 i != cookies_.end(); ++i) 67 i != cookies_.end(); ++i)
66 if (i->second) 68 if (i->second)
67 return false; 69 return false;
68 return true; 70 return true;
69 } 71 }
OLDNEW
« no previous file with comments | « chrome/browser/mac/keystone_glue.mm ('k') | chrome/browser/net/connection_tester.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698