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

Side by Side Diff: chrome/browser/drive/drive_app_registry_unittest.cc

Issue 130753002: Move DriveAppRegistry from c/b/chromeos/drive to c/b/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 6 years, 11 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
« no previous file with comments | « chrome/browser/drive/drive_app_registry.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_app_registry.h" 5 #include "chrome/browser/drive/drive_app_registry.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "base/run_loop.h" 8 #include "base/run_loop.h"
9 #include "chrome/browser/drive/fake_drive_service.h" 9 #include "chrome/browser/drive/fake_drive_service.h"
10 #include "content/public/test/test_browser_thread_bundle.h" 10 #include "content/public/test/test_browser_thread_bundle.h"
11 #include "google_apis/drive/drive_api_parser.h" 11 #include "google_apis/drive/drive_api_parser.h"
12 #include "google_apis/drive/gdata_wapi_parser.h" 12 #include "google_apis/drive/gdata_wapi_parser.h"
13 #include "google_apis/drive/test_util.h" 13 #include "google_apis/drive/test_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 15
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // should be returned. 131 // should be returned.
132 EXPECT_EQ(kSmallerIconUrl, 132 EXPECT_EQ(kSmallerIconUrl,
133 util::FindPreferredIcon(icons, kMediumSize - 3).spec()); 133 util::FindPreferredIcon(icons, kMediumSize - 3).spec());
134 // The requested size is larger than the largest icon. The largest icon 134 // The requested size is larger than the largest icon. The largest icon
135 // should be returned. 135 // should be returned.
136 EXPECT_EQ(kBiggerIconUrl, 136 EXPECT_EQ(kBiggerIconUrl,
137 util::FindPreferredIcon(icons, kMediumSize + 3).spec()); 137 util::FindPreferredIcon(icons, kMediumSize + 3).spec());
138 } 138 }
139 139
140 } // namespace drive 140 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/drive/drive_app_registry.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698