| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/app_mode/fake_cws.h" | 5 #include "chrome/browser/chromeos/app_mode/fake_cws.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/file_util.h" | 9 #include "base/files/file_util.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| 11 #include "base/strings/string_number_conversions.h" | 11 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/string_util.h" | 12 #include "base/strings/string_util.h" |
| 13 #include "chrome/common/chrome_paths.h" | 13 #include "chrome/common/chrome_paths.h" |
| 14 #include "chrome/common/chrome_switches.h" | 14 #include "chrome/common/chrome_switches.h" |
| 15 #include "chrome/test/base/in_process_browser_test.h" | 15 #include "chrome/test/base/in_process_browser_test.h" |
| 16 #include "crypto/sha2.h" | 16 #include "crypto/sha2.h" |
| 17 #include "net/test/embedded_test_server/embedded_test_server.h" | 17 #include "net/test/embedded_test_server/embedded_test_server.h" |
| 18 | 18 |
| 19 using net::test_server::BasicHttpResponse; | 19 using net::test_server::BasicHttpResponse; |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 http_response->set_code(net::HTTP_OK); | 138 http_response->set_code(net::HTTP_OK); |
| 139 http_response->set_content_type("text/xml"); | 139 http_response->set_content_type("text/xml"); |
| 140 http_response->set_content(update_check_content_); | 140 http_response->set_content(update_check_content_); |
| 141 return http_response.PassAs<HttpResponse>(); | 141 return http_response.PassAs<HttpResponse>(); |
| 142 } | 142 } |
| 143 | 143 |
| 144 return scoped_ptr<HttpResponse>(); | 144 return scoped_ptr<HttpResponse>(); |
| 145 } | 145 } |
| 146 | 146 |
| 147 } // namespace chromeos | 147 } // namespace chromeos |
| OLD | NEW |