| 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/extensions/api/webrequest/webrequest_api_helpers.h" | 5 #include "chrome/browser/extensions/api/web_request/web_request_api_helpers.h" |
| 6 | 6 |
| 7 #include "base/string_util.h" | 7 #include "base/string_util.h" |
| 8 #include "base/values.h" | 8 #include "base/values.h" |
| 9 #include "chrome/browser/extensions/api/webrequest/webrequest_api.h" | 9 #include "chrome/browser/extensions/api/web_request/web_request_api.h" |
| 10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
| 11 #include "net/http/http_util.h" | 11 #include "net/http/http_util.h" |
| 12 | 12 |
| 13 namespace extension_webrequest_api_helpers { | 13 namespace extension_web_request_api_helpers { |
| 14 | 14 |
| 15 | 15 |
| 16 EventResponseDelta::EventResponseDelta( | 16 EventResponseDelta::EventResponseDelta( |
| 17 const std::string& extension_id, const base::Time& extension_install_time) | 17 const std::string& extension_id, const base::Time& extension_install_time) |
| 18 : extension_id(extension_id), | 18 : extension_id(extension_id), |
| 19 extension_install_time(extension_install_time), | 19 extension_install_time(extension_install_time), |
| 20 cancel(false) { | 20 cancel(false) { |
| 21 } | 21 } |
| 22 | 22 |
| 23 EventResponseDelta::~EventResponseDelta() { | 23 EventResponseDelta::~EventResponseDelta() { |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 make_scoped_refptr( | 537 make_scoped_refptr( |
| 538 new NetLogExtensionIdParameter((*delta)->extension_id))); | 538 new NetLogExtensionIdParameter((*delta)->extension_id))); |
| 539 event_log_entries->push_back(log_entry); | 539 event_log_entries->push_back(log_entry); |
| 540 *auth_credentials = *(*delta)->auth_credentials; | 540 *auth_credentials = *(*delta)->auth_credentials; |
| 541 credentials_set = true; | 541 credentials_set = true; |
| 542 } | 542 } |
| 543 } | 543 } |
| 544 return credentials_set; | 544 return credentials_set; |
| 545 } | 545 } |
| 546 | 546 |
| 547 } // namespace extension_webrequest_api_helpers | 547 } // namespace extension_web_request_api_helpers |
| OLD | NEW |