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

Side by Side Diff: chrome/browser/chromeos/drive/drive_scheduler_unittest.cc

Issue 12211105: Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments, merge to LKGR. Created 7 years, 10 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/chromeos/drive/drive_scheduler.h" 5 #include "chrome/browser/chromeos/drive/drive_scheduler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/json/json_reader.h" 9 #include "base/json/json_reader.h"
10 #include "base/prefs/pref_service.h"
10 #include "base/threading/sequenced_worker_pool.h" 11 #include "base/threading/sequenced_worker_pool.h"
11 #include "chrome/browser/chromeos/drive/drive_test_util.h" 12 #include "chrome/browser/chromeos/drive/drive_test_util.h"
12 #include "chrome/browser/google_apis/drive_api_parser.h" 13 #include "chrome/browser/google_apis/drive_api_parser.h"
13 #include "chrome/browser/google_apis/fake_drive_service.h" 14 #include "chrome/browser/google_apis/fake_drive_service.h"
14 #include "chrome/browser/google_apis/gdata_wapi_parser.h" 15 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
15 #include "chrome/browser/prefs/pref_service.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 #include "chrome/test/base/testing_profile.h" 17 #include "chrome/test/base/testing_profile.h"
18 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
19 #include "testing/gmock/include/gmock/gmock.h" 19 #include "testing/gmock/include/gmock/gmock.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 using ::testing::AnyNumber; 22 using ::testing::AnyNumber;
23 using ::testing::DoAll; 23 using ::testing::DoAll;
24 using ::testing::Eq; 24 using ::testing::Eq;
25 using ::testing::Return; 25 using ::testing::Return;
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 &google_apis::test_util::CopyResultsFromGetResourceEntryCallback, 310 &google_apis::test_util::CopyResultsFromGetResourceEntryCallback,
311 &error, 311 &error,
312 &entry)); 312 &entry));
313 google_apis::test_util::RunBlockingPoolTask(); 313 google_apis::test_util::RunBlockingPoolTask();
314 314
315 ASSERT_EQ(google_apis::HTTP_CREATED, error); 315 ASSERT_EQ(google_apis::HTTP_CREATED, error);
316 ASSERT_TRUE(entry); 316 ASSERT_TRUE(entry);
317 } 317 }
318 318
319 } // namespace drive 319 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_scheduler.cc ('k') | chrome/browser/chromeos/drive/drive_sync_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698