Index: components/update_client/test/url_request_post_interceptor.h |
diff --git a/components/component_updater/test/url_request_post_interceptor.h b/components/update_client/test/url_request_post_interceptor.h |
similarity index 77% |
rename from components/component_updater/test/url_request_post_interceptor.h |
rename to components/update_client/test/url_request_post_interceptor.h |
index ffdcfb1f980e685845b16709d32aa7f80ecdcd26..d261160f611db1b5f76437cdb9a3190714b99e34 100644 |
--- a/components/component_updater/test/url_request_post_interceptor.h |
+++ b/components/update_client/test/url_request_post_interceptor.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef COMPONENTS_COMPONENT_UPDATER_TEST_URL_REQUEST_POST_INTERCEPTOR_H_ |
-#define COMPONENTS_COMPONENT_UPDATER_TEST_URL_REQUEST_POST_INTERCEPTOR_H_ |
+#ifndef COMPONENTS_UPDATE_CLIENT_TEST_URL_REQUEST_POST_INTERCEPTOR_H_ |
+#define COMPONENTS_UPDATE_CLIENT_TEST_URL_REQUEST_POST_INTERCEPTOR_H_ |
#include <stdint.h> |
#include <map> |
@@ -26,26 +26,7 @@ namespace net { |
class URLRequest; |
} |
-namespace component_updater { |
- |
-// component 1 has extension id "jebgalgnebhfojomionfpkfelancnnkf", and |
-// the RSA public key the following hash: |
-const uint8_t jebg_hash[] = {0x94, 0x16, 0x0b, 0x6d, 0x41, 0x75, 0xe9, 0xec, |
- 0x8e, 0xd5, 0xfa, 0x54, 0xb0, 0xd2, 0xdd, 0xa5, |
- 0x6e, 0x05, 0x6b, 0xe8, 0x73, 0x47, 0xf6, 0xc4, |
- 0x11, 0x9f, 0xbc, 0xb3, 0x09, 0xb3, 0x5b, 0x40}; |
-// component 2 has extension id "abagagagagagagagagagagagagagagag", and |
-// the RSA public key the following hash: |
-const uint8_t abag_hash[] = {0x01, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, |
- 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, |
- 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, |
- 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x06, 0x01}; |
-// component 3 has extension id "ihfokbkgjpifnbbojhneepfflplebdkc", and |
-// the RSA public key the following hash: |
-const uint8_t ihfo_hash[] = {0x87, 0x5e, 0xa1, 0xa6, 0x9f, 0x85, 0xd1, 0x1e, |
- 0x97, 0xd4, 0x4f, 0x55, 0xbf, 0xb4, 0x13, 0xa2, |
- 0xe7, 0xc5, 0xc8, 0xf5, 0x60, 0x19, 0x78, 0x1b, |
- 0x6d, 0xe9, 0x4c, 0xeb, 0x96, 0x05, 0x42, 0x17}; |
+namespace update_client { |
// Intercepts requests to a file path, counts them, and captures the body of |
// the requests. Optionally, for each request, it can return a canned response |
@@ -179,6 +160,6 @@ class PartialMatch : public URLRequestPostInterceptor::RequestMatcher { |
DISALLOW_COPY_AND_ASSIGN(PartialMatch); |
}; |
-} // namespace component_updater |
+} // namespace update_client |
-#endif // COMPONENTS_COMPONENT_UPDATER_TEST_URL_REQUEST_POST_INTERCEPTOR_H_ |
+#endif // COMPONENTS_UPDATE_CLIENT_TEST_URL_REQUEST_POST_INTERCEPTOR_H_ |