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/google_apis/gdata_wapi_parser.h" | 5 #include "chrome/browser/google_apis/gdata_wapi_parser.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/json/json_file_value_serializer.h" | 10 #include "base/json/json_file_value_serializer.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
| 13 #include "base/strings/utf_string_conversions.h" |
13 #include "base/time.h" | 14 #include "base/time.h" |
14 #include "base/utf_string_conversions.h" | |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/browser/google_apis/test_util.h" | 16 #include "chrome/browser/google_apis/test_util.h" |
17 #include "chrome/browser/google_apis/time_util.h" | 17 #include "chrome/browser/google_apis/time_util.h" |
18 #include "testing/gtest/include/gtest/gtest.h" | 18 #include "testing/gtest/include/gtest/gtest.h" |
19 | 19 |
20 using base::Value; | 20 using base::Value; |
21 using base::DictionaryValue; | 21 using base::DictionaryValue; |
22 using base::ListValue; | 22 using base::ListValue; |
23 | 23 |
24 namespace google_apis { | 24 namespace google_apis { |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_EXTERNAL_APP)); | 380 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_EXTERNAL_APP)); |
381 EXPECT_EQ(ResourceEntry::KIND_OF_FOLDER, | 381 EXPECT_EQ(ResourceEntry::KIND_OF_FOLDER, |
382 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_FOLDER)); | 382 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_FOLDER)); |
383 EXPECT_EQ(ResourceEntry::KIND_OF_FILE, | 383 EXPECT_EQ(ResourceEntry::KIND_OF_FILE, |
384 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_FILE)); | 384 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_FILE)); |
385 EXPECT_EQ(ResourceEntry::KIND_OF_FILE, | 385 EXPECT_EQ(ResourceEntry::KIND_OF_FILE, |
386 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_PDF)); | 386 ResourceEntry::ClassifyEntryKind(ENTRY_KIND_PDF)); |
387 } | 387 } |
388 | 388 |
389 } // namespace google_apis | 389 } // namespace google_apis |
OLD | NEW |