| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdint.h> | 5 #include <stdint.h> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
| 10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 net::URLRequestJob* MaybeInterceptResponse( | 102 net::URLRequestJob* MaybeInterceptResponse( |
| 103 net::URLRequest* request, | 103 net::URLRequest* request, |
| 104 net::NetworkDelegate* network_delegate) const override { | 104 net::NetworkDelegate* network_delegate) const override { |
| 105 return nullptr; | 105 return nullptr; |
| 106 } | 106 } |
| 107 | 107 |
| 108 bool IsHandledProtocol(const std::string& scheme) const override { | 108 bool IsHandledProtocol(const std::string& scheme) const override { |
| 109 return true; | 109 return true; |
| 110 } | 110 } |
| 111 | 111 |
| 112 bool IsHandledURL(const GURL& url) const override { return true; } | |
| 113 | |
| 114 bool IsSafeRedirectTarget(const GURL& location) const override { | 112 bool IsSafeRedirectTarget(const GURL& location) const override { |
| 115 return false; | 113 return false; |
| 116 } | 114 } |
| 117 | 115 |
| 118 private: | 116 private: |
| 119 std::string storage_domain_; | 117 std::string storage_domain_; |
| 120 FileSystemContext* file_system_context_; | 118 FileSystemContext* file_system_context_; |
| 121 }; | 119 }; |
| 122 | 120 |
| 123 | 121 |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 ASSERT_FALSE(request_->is_pending()); | 447 ASSERT_FALSE(request_->is_pending()); |
| 450 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, delegate_->request_status()); | 448 EXPECT_EQ(net::ERR_FILE_NOT_FOUND, delegate_->request_status()); |
| 451 | 449 |
| 452 ASSERT_FALSE( | 450 ASSERT_FALSE( |
| 453 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( | 451 storage::ExternalMountPoints::GetSystemInstance()->RevokeFileSystem( |
| 454 kValidExternalMountPoint)); | 452 kValidExternalMountPoint)); |
| 455 } | 453 } |
| 456 | 454 |
| 457 } // namespace | 455 } // namespace |
| 458 } // namespace content | 456 } // namespace content |
| OLD | NEW |