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

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

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 years, 3 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 | « chrome/browser/bookmarks/bookmark_model_observer.h ('k') | chrome/browser/browser_list.h » ('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 2009, The Chromium Authors 1 // Copyright 2008, Google Inc.
2 // All rights reserved. 2 // All rights reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // * Redistributions of source code must retain the above copyright 8 // * Redistributions of source code must retain the above copyright
9 // notice, this list of conditions and the following disclaimer. 9 // notice, this list of conditions and the following disclaimer.
10 // * Redistributions in binary form must reproduce the above 10 // * Redistributions in binary form must reproduce the above
11 // copyright notice, this list of conditions and the following disclaimer 11 // copyright notice, this list of conditions and the following disclaimer
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // Returns, by reference in urls, the set of bookmarked urls. This returns 49 // Returns, by reference in urls, the set of bookmarked urls. This returns
50 // the unique set of URLs. For example, if two bookmarks reference the same 50 // the unique set of URLs. For example, if two bookmarks reference the same
51 // URL only one entry is added. 51 // URL only one entry is added.
52 // 52 //
53 // If not on the main thread you *must* invoke BlockTillLoaded first. 53 // If not on the main thread you *must* invoke BlockTillLoaded first.
54 virtual void GetBookmarks(std::vector<GURL>* urls) = 0; 54 virtual void GetBookmarks(std::vector<GURL>* urls) = 0;
55 55
56 // Blocks until loaded. This is intended for usage on a thread other than 56 // Blocks until loaded. This is intended for usage on a thread other than
57 // the main thread. 57 // the main thread.
58 virtual void BlockTillLoaded() = 0; 58 virtual void BlockTillLoaded() = 0;
59
60 protected:
61 ~BookmarkService() {}
62 }; 59 };
63 60
64 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_SERVICE_H_ 61 #endif // CHROME_BROWSER_BOOKMARKS_BOOKMARK_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model_observer.h ('k') | chrome/browser/browser_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698