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

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

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 1 month 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 (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/cookies_tree_model.h" 5 #include "chrome/browser/cookies_tree_model.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 975 matching lines...) Expand 10 before | Expand all | Expand 10 after
986 PopulateAppCacheInfoWithFilter(container, &notifier, filter); 986 PopulateAppCacheInfoWithFilter(container, &notifier, filter);
987 PopulateIndexedDBInfoWithFilter(container, &notifier, filter); 987 PopulateIndexedDBInfoWithFilter(container, &notifier, filter);
988 PopulateFileSystemInfoWithFilter(container, &notifier, filter); 988 PopulateFileSystemInfoWithFilter(container, &notifier, filter);
989 PopulateQuotaInfoWithFilter(container, &notifier, filter); 989 PopulateQuotaInfoWithFilter(container, &notifier, filter);
990 PopulateServerBoundCertInfoWithFilter(container, &notifier, filter); 990 PopulateServerBoundCertInfoWithFilter(container, &notifier, filter);
991 } 991 }
992 } 992 }
993 993
994 const ExtensionSet* CookiesTreeModel::ExtensionsProtectingNode( 994 const ExtensionSet* CookiesTreeModel::ExtensionsProtectingNode(
995 const CookieTreeNode& cookie_node) { 995 const CookieTreeNode& cookie_node) {
996 if (!special_storage_policy_) 996 if (!special_storage_policy_.get())
997 return NULL; 997 return NULL;
998 998
999 CookieTreeNode::DetailedInfo info = cookie_node.GetDetailedInfo(); 999 CookieTreeNode::DetailedInfo info = cookie_node.GetDetailedInfo();
1000 1000
1001 if (!TypeIsProtected(info.node_type)) 1001 if (!TypeIsProtected(info.node_type))
1002 return NULL; 1002 return NULL;
1003 1003
1004 DCHECK(!info.origin.is_empty()); 1004 DCHECK(!info.origin.is_empty());
1005 return special_storage_policy_->ExtensionsProtectingOrigin(info.origin); 1005 return special_storage_policy_->ExtensionsProtectingOrigin(info.origin);
1006 } 1006 }
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 cookies_observer_list_, 1391 cookies_observer_list_,
1392 TreeModelEndBatch(this)); 1392 TreeModelEndBatch(this));
1393 } 1393 }
1394 } 1394 }
1395 1395
1396 LocalDataContainer* CookiesTreeModel::GetLocalDataContainer( 1396 LocalDataContainer* CookiesTreeModel::GetLocalDataContainer(
1397 const std::string& app_id) { 1397 const std::string& app_id) {
1398 LocalDataContainer* container = app_data_map_[app_id]; 1398 LocalDataContainer* container = app_data_map_[app_id];
1399 return container; 1399 return container;
1400 } 1400 }
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/host_content_settings_map_unittest.cc ('k') | chrome/browser/custom_home_pages_table_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698