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

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

Issue 1190203002: Move (most of) chrome/browser/drive into components/drive/service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 5 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
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/resource_entry_conversion.h" 5 #include "chrome/browser/chromeos/drive/resource_entry_conversion.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "chrome/browser/chromeos/drive/drive.pb.h" 8 #include "chrome/browser/chromeos/drive/drive.pb.h"
9 #include "chrome/browser/drive/drive_api_util.h" 9 #include "components/drive/drive_api_util.h"
10 #include "google_apis/drive/drive_api_parser.h" 10 #include "google_apis/drive/drive_api_parser.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 12
13 namespace drive { 13 namespace drive {
14 14
15 namespace { 15 namespace {
16 16
17 base::Time GetTestTime() { 17 base::Time GetTestTime() {
18 // 2011-12-14-T00:40:47.330Z 18 // 2011-12-14-T00:40:47.330Z
19 base::Time::Exploded exploded; 19 base::Time::Exploded exploded;
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 std::string parent_resource_id; 365 std::string parent_resource_id;
366 EXPECT_TRUE(ConvertFileResourceToResourceEntry( 366 EXPECT_TRUE(ConvertFileResourceToResourceEntry(
367 entry_no_fields, &entry, &parent_resource_id)); 367 entry_no_fields, &entry, &parent_resource_id));
368 EXPECT_FALSE(entry.file_specific_info().has_image_width()); 368 EXPECT_FALSE(entry.file_specific_info().has_image_width());
369 EXPECT_FALSE(entry.file_specific_info().has_image_height()); 369 EXPECT_FALSE(entry.file_specific_info().has_image_height());
370 EXPECT_FALSE(entry.file_specific_info().has_image_rotation()); 370 EXPECT_FALSE(entry.file_specific_info().has_image_rotation());
371 } 371 }
372 } 372 }
373 373
374 } // namespace drive 374 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/resource_entry_conversion.cc ('k') | chrome/browser/chromeos/drive/resource_metadata_storage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698