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

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

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 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
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 #ifndef CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_
6 #define CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_
7 7
8 // TODO(viettrungluu): This header file #includes far too much and has too much 8 // TODO(viettrungluu): This header file #includes far too much and has too much
9 // inline code (which shouldn't be inline). 9 // inline code (which shouldn't be inline).
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 DISALLOW_COPY_AND_ASSIGN(CookieTreeCookiesNode); 276 DISALLOW_COPY_AND_ASSIGN(CookieTreeCookiesNode);
277 }; 277 };
278 278
279 // CookieTreeAppCacheNode ----------------------------------------------------- 279 // CookieTreeAppCacheNode -----------------------------------------------------
280 class CookieTreeAppCacheNode : public CookieTreeNode { 280 class CookieTreeAppCacheNode : public CookieTreeNode {
281 public: 281 public:
282 friend class CookieTreeAppCachesNode; 282 friend class CookieTreeAppCachesNode;
283 283
284 // appcache_info should remain valid at least as long as the 284 // appcache_info should remain valid at least as long as the
285 // CookieTreeAppCacheNode is valid. 285 // CookieTreeAppCacheNode is valid.
286 explicit CookieTreeAppCacheNode( 286 CookieTreeAppCacheNode(
287 const GURL& origin_url, 287 const GURL& origin_url,
288 std::list<appcache::AppCacheInfo>::iterator appcache_info); 288 std::list<appcache::AppCacheInfo>::iterator appcache_info);
289 virtual ~CookieTreeAppCacheNode(); 289 virtual ~CookieTreeAppCacheNode();
290 290
291 virtual void DeleteStoredObjects() OVERRIDE; 291 virtual void DeleteStoredObjects() OVERRIDE;
292 virtual DetailedInfo GetDetailedInfo() const OVERRIDE; 292 virtual DetailedInfo GetDetailedInfo() const OVERRIDE;
293 293
294 private: 294 private:
295 GURL origin_url_; 295 GURL origin_url_;
296 std::list<appcache::AppCacheInfo>::iterator appcache_info_; 296 std::list<appcache::AppCacheInfo>::iterator appcache_info_;
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 // Otherwise, use the CanonicalCookie::Domain attribute. 726 // Otherwise, use the CanonicalCookie::Domain attribute.
727 bool group_by_cookie_source_; 727 bool group_by_cookie_source_;
728 728
729 // If this is non-zero, then this model is batching updates (there's a lot of 729 // If this is non-zero, then this model is batching updates (there's a lot of
730 // notifications coming down the pipe). This is an integer is used to balance 730 // notifications coming down the pipe). This is an integer is used to balance
731 // calls to Begin/EndBatch() if they're called in a nested manner. 731 // calls to Begin/EndBatch() if they're called in a nested manner.
732 int batch_update_; 732 int batch_update_;
733 }; 733 };
734 734
735 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_ 735 #endif // CHROME_BROWSER_BROWSING_DATA_COOKIES_TREE_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698