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

Side by Side Diff: chrome/browser/sync/test/integration/bookmarks_helper.h

Issue 9570055: [Sync] Add support for associating a new Synced Bookmarks node. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, address comments Created 8 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_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_
6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_ 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 11 matching lines...) Expand all
22 22
23 // Used to access the bookmark model within a particular sync profile. 23 // Used to access the bookmark model within a particular sync profile.
24 BookmarkModel* GetBookmarkModel(int index) WARN_UNUSED_RESULT; 24 BookmarkModel* GetBookmarkModel(int index) WARN_UNUSED_RESULT;
25 25
26 // Used to access the bookmark bar within a particular sync profile. 26 // Used to access the bookmark bar within a particular sync profile.
27 const BookmarkNode* GetBookmarkBarNode(int index) WARN_UNUSED_RESULT; 27 const BookmarkNode* GetBookmarkBarNode(int index) WARN_UNUSED_RESULT;
28 28
29 // Used to access the "other bookmarks" node within a particular sync profile. 29 // Used to access the "other bookmarks" node within a particular sync profile.
30 const BookmarkNode* GetOtherNode(int index) WARN_UNUSED_RESULT; 30 const BookmarkNode* GetOtherNode(int index) WARN_UNUSED_RESULT;
31 31
32 // Used to access the "Synced Bookmarks" node within a particular sync profile.
33 const BookmarkNode* GetSyncedBookmarksNode(int index) WARN_UNUSED_RESULT;
34
32 // Used to access the bookmarks within the verifier sync profile. 35 // Used to access the bookmarks within the verifier sync profile.
33 BookmarkModel* GetVerifierBookmarkModel() WARN_UNUSED_RESULT; 36 BookmarkModel* GetVerifierBookmarkModel() WARN_UNUSED_RESULT;
34 37
35 // Adds a URL with address |url| and title |title| to the bookmark bar of 38 // Adds a URL with address |url| and title |title| to the bookmark bar of
36 // profile |profile|. Returns a pointer to the node that was added. 39 // profile |profile|. Returns a pointer to the node that was added.
37 const BookmarkNode* AddURL( 40 const BookmarkNode* AddURL(
38 int profile, 41 int profile,
39 const std::wstring& title, 42 const std::wstring& title,
40 const GURL& url) WARN_UNUSED_RESULT; 43 const GURL& url) WARN_UNUSED_RESULT;
41 44
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 180
178 // Returns a subfolder name identifiable by |i|. 181 // Returns a subfolder name identifiable by |i|.
179 std::wstring IndexedSubfolderName(int i); 182 std::wstring IndexedSubfolderName(int i);
180 183
181 // Returns a subsubfolder name identifiable by |i|. 184 // Returns a subsubfolder name identifiable by |i|.
182 std::wstring IndexedSubsubfolderName(int i); 185 std::wstring IndexedSubsubfolderName(int i);
183 186
184 } // namespace bookmarks_helper 187 } // namespace bookmarks_helper
185 188
186 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_ 189 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/bookmark_model_associator.cc ('k') | chrome/browser/sync/test/integration/bookmarks_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698