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

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

Issue 284893003: Move bookmarks/core/... to bookmarks/... (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing errors reported by presubmit Created 6 years, 7 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_SERVICE_H_ 5 #ifndef COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_SERVICE_H_
6 #define COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_SERVICE_H_ 6 #define COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_SERVICE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 // BookmarkService provides a thread safe view of bookmarks. It can be used 13 // BookmarkService provides a thread safe view of bookmarks. It can be used
14 // to determine the set of bookmarked URLs or to check if an URL is bookmarked. 14 // to determine the set of bookmarked URLs or to check if an URL is bookmarked.
15 class BookmarkService { 15 class BookmarkService {
16 public: 16 public:
(...skipping 16 matching lines...) Expand all
33 virtual void GetBookmarks(std::vector<URLAndTitle>* bookmarks) = 0; 33 virtual void GetBookmarks(std::vector<URLAndTitle>* bookmarks) = 0;
34 34
35 // Blocks until loaded. This is intended for usage on a thread other than 35 // Blocks until loaded. This is intended for usage on a thread other than
36 // the main thread. 36 // the main thread.
37 virtual void BlockTillLoaded() = 0; 37 virtual void BlockTillLoaded() = 0;
38 38
39 protected: 39 protected:
40 virtual ~BookmarkService() {} 40 virtual ~BookmarkService() {}
41 }; 41 };
42 42
43 #endif // COMPONENTS_BOOKMARKS_CORE_BROWSER_BOOKMARK_SERVICE_H_ 43 #endif // COMPONENTS_BOOKMARKS_BROWSER_BOOKMARK_SERVICE_H_
OLDNEW
« no previous file with comments | « components/bookmarks/browser/bookmark_pasteboard_helper_mac.mm ('k') | components/bookmarks/browser/bookmark_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698