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

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

Issue 2248683006: Site Settings Desktop: Implement individual cookie removal and RemoveAll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address feedback Created 4 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/compiled_resources2.gyp » ('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) 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 "chrome/browser/browsing_data/cookies_tree_model.h" 5 #include "chrome/browser/browsing_data/cookies_tree_model.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <functional> 10 #include <functional>
(...skipping 1507 matching lines...) Expand 10 before | Expand all | Expand 10 after
1518 } 1518 }
1519 1519
1520 void CookiesTreeModel::MaybeNotifyBatchesEnded() { 1520 void CookiesTreeModel::MaybeNotifyBatchesEnded() {
1521 // Only notify the observers if this is the outermost call to EndBatch() if 1521 // Only notify the observers if this is the outermost call to EndBatch() if
1522 // called in a nested manner. 1522 // called in a nested manner.
1523 if (batches_ended_ == batches_started_ && 1523 if (batches_ended_ == batches_started_ &&
1524 batches_seen_ == batches_expected_) { 1524 batches_seen_ == batches_expected_) {
1525 FOR_EACH_OBSERVER(Observer, 1525 FOR_EACH_OBSERVER(Observer,
1526 cookies_observer_list_, 1526 cookies_observer_list_,
1527 TreeModelEndBatch(this)); 1527 TreeModelEndBatch(this));
1528 SetBatchExpectation(0, true);
1528 } 1529 }
1529 } 1530 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/site_settings/compiled_resources2.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698