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 "extensions/browser/api/web_request/web_request_api.h" | 5 #include "extensions/browser/api/web_request/web_request_api.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <utility> | 10 #include <utility> |
9 #include <vector> | 11 #include <vector> |
10 | 12 |
11 #include "base/bind.h" | 13 #include "base/bind.h" |
12 #include "base/bind_helpers.h" | 14 #include "base/bind_helpers.h" |
13 #include "base/json/json_writer.h" | 15 #include "base/json/json_writer.h" |
14 #include "base/lazy_instance.h" | 16 #include "base/lazy_instance.h" |
15 #include "base/macros.h" | 17 #include "base/macros.h" |
16 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
(...skipping 2453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2470 // Continue gracefully. | 2472 // Continue gracefully. |
2471 RunSync(); | 2473 RunSync(); |
2472 } | 2474 } |
2473 | 2475 |
2474 bool WebRequestHandlerBehaviorChangedFunction::RunSync() { | 2476 bool WebRequestHandlerBehaviorChangedFunction::RunSync() { |
2475 helpers::ClearCacheOnNavigation(); | 2477 helpers::ClearCacheOnNavigation(); |
2476 return true; | 2478 return true; |
2477 } | 2479 } |
2478 | 2480 |
2479 } // namespace extensions | 2481 } // namespace extensions |
OLD | NEW |