OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_ | 5 #ifndef CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_ |
6 #define CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_ | 6 #define CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "chrome/browser/bookmarks/bookmark_model.h" | 13 #include "chrome/browser/bookmarks/bookmark_model.h" |
14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/test/live_sync/bookmark_model_verifier.h" | 15 #include "chrome/test/live_sync/bookmark_model_verifier.h" |
16 #include "chrome/test/live_sync/live_sync_test.h" | 16 #include "chrome/test/live_sync/live_sync_test.h" |
17 #include "chrome/test/ui_test_utils.h" | 17 #include "chrome/test/ui_test_utils.h" |
18 #include "gfx/codec/png_codec.h" | |
19 #include "googleurl/src/gurl.h" | 18 #include "googleurl/src/gurl.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
21 #include "third_party/skia/include/core/SkBitmap.h" | 20 #include "third_party/skia/include/core/SkBitmap.h" |
| 21 #include "ui/gfx/codec/png_codec.h" |
22 | 22 |
23 class LiveBookmarksSyncTest : public LiveSyncTest { | 23 class LiveBookmarksSyncTest : public LiveSyncTest { |
24 public: | 24 public: |
25 explicit LiveBookmarksSyncTest(TestType test_type) | 25 explicit LiveBookmarksSyncTest(TestType test_type) |
26 : LiveSyncTest(test_type) {} | 26 : LiveSyncTest(test_type) {} |
27 | 27 |
28 virtual ~LiveBookmarksSyncTest() {} | 28 virtual ~LiveBookmarksSyncTest() {} |
29 | 29 |
30 // Sets up sync profiles and clients and initializes the bookmark verifier. | 30 // Sets up sync profiles and clients and initializes the bookmark verifier. |
31 virtual bool SetupClients() WARN_UNUSED_RESULT { | 31 virtual bool SetupClients() WARN_UNUSED_RESULT { |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 public: | 356 public: |
357 ManyClientLiveBookmarksSyncTest() | 357 ManyClientLiveBookmarksSyncTest() |
358 : LiveBookmarksSyncTest(MANY_CLIENT) {} | 358 : LiveBookmarksSyncTest(MANY_CLIENT) {} |
359 ~ManyClientLiveBookmarksSyncTest() {} | 359 ~ManyClientLiveBookmarksSyncTest() {} |
360 | 360 |
361 private: | 361 private: |
362 DISALLOW_COPY_AND_ASSIGN(ManyClientLiveBookmarksSyncTest); | 362 DISALLOW_COPY_AND_ASSIGN(ManyClientLiveBookmarksSyncTest); |
363 }; | 363 }; |
364 | 364 |
365 #endif // CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_ | 365 #endif // CHROME_TEST_LIVE_SYNC_LIVE_BOOKMARKS_SYNC_TEST_H_ |
OLD | NEW |