| 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 "base/file_path.h" | 5 #include "base/file_path.h" |
| 6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/json/json_file_value_serializer.h" | 7 #include "base/json/json_file_value_serializer.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 #include "base/string16.h" | 9 #include "base/string16.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "base/values.h" | 12 #include "base/values.h" |
| 13 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" | 13 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" |
| 14 #include "chrome/browser/chromeos/gdata/gdata_util.h" | 14 #include "chrome/browser/google_api/gdata_util.h" |
| 15 #include "chrome/common/chrome_paths.h" | 15 #include "chrome/common/chrome_paths.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "third_party/libxml/chromium/libxml_utils.h" | 17 #include "third_party/libxml/chromium/libxml_utils.h" |
| 18 | 18 |
| 19 using base::Value; | 19 using base::Value; |
| 20 using base::DictionaryValue; | 20 using base::DictionaryValue; |
| 21 using base::ListValue; | 21 using base::ListValue; |
| 22 | 22 |
| 23 namespace gdata { | 23 namespace gdata { |
| 24 | 24 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 FilePath(FILE_PATH_LITERAL("Test.tar.gz")))); | 362 FilePath(FILE_PATH_LITERAL("Test.tar.gz")))); |
| 363 EXPECT_FALSE(DocumentEntry::HasHostedDocumentExtension( | 363 EXPECT_FALSE(DocumentEntry::HasHostedDocumentExtension( |
| 364 FilePath(FILE_PATH_LITERAL("Test.txt")))); | 364 FilePath(FILE_PATH_LITERAL("Test.txt")))); |
| 365 EXPECT_FALSE(DocumentEntry::HasHostedDocumentExtension( | 365 EXPECT_FALSE(DocumentEntry::HasHostedDocumentExtension( |
| 366 FilePath(FILE_PATH_LITERAL("Test")))); | 366 FilePath(FILE_PATH_LITERAL("Test")))); |
| 367 EXPECT_FALSE(DocumentEntry::HasHostedDocumentExtension( | 367 EXPECT_FALSE(DocumentEntry::HasHostedDocumentExtension( |
| 368 FilePath(FILE_PATH_LITERAL("")))); | 368 FilePath(FILE_PATH_LITERAL("")))); |
| 369 } | 369 } |
| 370 | 370 |
| 371 } // namespace gdata | 371 } // namespace gdata |
| OLD | NEW |