| OLD | NEW |
| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
| 14 #include "chrome/browser/bookmarks/bookmark_model.h" | 14 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 15 #include "googleurl/src/gurl.h" | 15 #include "googleurl/src/gurl.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "third_party/skia/include/core/SkBitmap.h" | 17 #include "third_party/skia/include/core/SkBitmap.h" |
| 18 | 18 |
| 19 class GURL; | 19 class GURL; |
| 20 class Profile; | |
| 21 | 20 |
| 22 namespace bookmarks_helper { | 21 namespace bookmarks_helper { |
| 23 | 22 |
| 24 // Used to access the bookmark model within a particular sync profile. | 23 // Used to access the bookmark model within a particular sync profile. |
| 25 BookmarkModel* GetBookmarkModel(int index) WARN_UNUSED_RESULT; | 24 BookmarkModel* GetBookmarkModel(int index) WARN_UNUSED_RESULT; |
| 26 | 25 |
| 27 // Used to access the bookmark bar within a particular sync profile. | 26 // Used to access the bookmark bar within a particular sync profile. |
| 28 const BookmarkNode* GetBookmarkBarNode(int index) WARN_UNUSED_RESULT; | 27 const BookmarkNode* GetBookmarkBarNode(int index) WARN_UNUSED_RESULT; |
| 29 | 28 |
| 30 // 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. |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 | 177 |
| 179 // Returns a subfolder name identifiable by |i|. | 178 // Returns a subfolder name identifiable by |i|. |
| 180 std::wstring IndexedSubfolderName(int i); | 179 std::wstring IndexedSubfolderName(int i); |
| 181 | 180 |
| 182 // Returns a subsubfolder name identifiable by |i|. | 181 // Returns a subsubfolder name identifiable by |i|. |
| 183 std::wstring IndexedSubsubfolderName(int i); | 182 std::wstring IndexedSubsubfolderName(int i); |
| 184 | 183 |
| 185 } // namespace bookmarks_helper | 184 } // namespace bookmarks_helper |
| 186 | 185 |
| 187 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_ | 186 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_BOOKMARKS_HELPER_H_ |
| OLD | NEW |