| OLD | NEW |
| 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/gdata/gdata_wapi_parser.h" | 5 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/json/json_file_value_serializer.h" | 9 #include "base/json/json_file_value_serializer.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "base/string16.h" | 11 #include "base/string16.h" |
| 12 #include "base/time.h" | 12 #include "base/time.h" |
| 13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chrome/browser/chromeos/gdata/drive_test_util.h" | 15 #include "chrome/browser/chromeos/gdata/gdata_test_util.h" |
| 16 #include "chrome/browser/chromeos/gdata/gdata_util.h" | 16 #include "chrome/browser/chromeos/gdata/gdata_util.h" |
| 17 #include "chrome/common/chrome_paths.h" | 17 #include "chrome/common/chrome_paths.h" |
| 18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
| 19 #include "third_party/libxml/chromium/libxml_utils.h" | 19 #include "third_party/libxml/chromium/libxml_utils.h" |
| 20 | 20 |
| 21 using base::Value; | 21 using base::Value; |
| 22 using base::DictionaryValue; | 22 using base::DictionaryValue; |
| 23 using base::ListValue; | 23 using base::ListValue; |
| 24 | 24 |
| 25 namespace gdata { | 25 namespace gdata { |
| (...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 382 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_EXTERNAL_APP)); | 382 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_EXTERNAL_APP)); |
| 383 EXPECT_EQ(DocumentEntry::KIND_OF_FOLDER, | 383 EXPECT_EQ(DocumentEntry::KIND_OF_FOLDER, |
| 384 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_FOLDER)); | 384 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_FOLDER)); |
| 385 EXPECT_EQ(DocumentEntry::KIND_OF_FILE, | 385 EXPECT_EQ(DocumentEntry::KIND_OF_FILE, |
| 386 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_FILE)); | 386 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_FILE)); |
| 387 EXPECT_EQ(DocumentEntry::KIND_OF_FILE, | 387 EXPECT_EQ(DocumentEntry::KIND_OF_FILE, |
| 388 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_PDF)); | 388 DocumentEntry::ClassifyEntryKind(ENTRY_KIND_PDF)); |
| 389 } | 389 } |
| 390 | 390 |
| 391 } // namespace gdata | 391 } // namespace gdata |
| OLD | NEW |