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

Side by Side Diff: chrome/browser/bookmarks/bookmark_model.h

Issue 6651014: Applied the IconType. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 9 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) 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 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ 5 #ifndef CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_
6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ 6 #define CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 BookmarkNode* CreateRootNodeFromStarredEntry( 389 BookmarkNode* CreateRootNodeFromStarredEntry(
390 const history::StarredEntry& entry); 390 const history::StarredEntry& entry);
391 391
392 // Notification that a favicon has finished loading. If we can decode the 392 // Notification that a favicon has finished loading. If we can decode the
393 // favicon, FaviconLoaded is invoked. 393 // favicon, FaviconLoaded is invoked.
394 void OnFavIconDataAvailable( 394 void OnFavIconDataAvailable(
395 FaviconService::Handle handle, 395 FaviconService::Handle handle,
396 bool know_favicon, 396 bool know_favicon,
397 scoped_refptr<RefCountedMemory> data, 397 scoped_refptr<RefCountedMemory> data,
398 bool expired, 398 bool expired,
399 GURL icon_url); 399 GURL icon_url,
400 history::IconType icon_type);
400 401
401 // Invoked from the node to load the favicon. Requests the favicon from the 402 // Invoked from the node to load the favicon. Requests the favicon from the
402 // favicon service. 403 // favicon service.
403 void LoadFavIcon(BookmarkNode* node); 404 void LoadFavIcon(BookmarkNode* node);
404 405
405 // If we're waiting on a favicon for node, the load request is canceled. 406 // If we're waiting on a favicon for node, the load request is canceled.
406 void CancelPendingFavIconLoadRequests(BookmarkNode* node); 407 void CancelPendingFavIconLoadRequests(BookmarkNode* node);
407 408
408 // NotificationObserver. 409 // NotificationObserver.
409 virtual void Observe(NotificationType type, 410 virtual void Observe(NotificationType type,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 scoped_refptr<BookmarkStorage> store_; 465 scoped_refptr<BookmarkStorage> store_;
465 466
466 scoped_ptr<BookmarkIndex> index_; 467 scoped_ptr<BookmarkIndex> index_;
467 468
468 base::WaitableEvent loaded_signal_; 469 base::WaitableEvent loaded_signal_;
469 470
470 DISALLOW_COPY_AND_ASSIGN(BookmarkModel); 471 DISALLOW_COPY_AND_ASSIGN(BookmarkModel);
471 }; 472 };
472 473
473 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_ 474 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_MODEL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698