Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: chrome/browser/extensions/api/web_request/web_request_api.cc

Issue 194333002: Move extension_messages.h to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge again Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/web_request/web_request_api.h" 5 #include "chrome/browser/extensions/api/web_request/web_request_api.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/extensions/api/web_request/web_request_api_helpers.h" 31 #include "chrome/browser/extensions/api/web_request/web_request_api_helpers.h"
32 #include "chrome/browser/extensions/api/web_request/web_request_time_tracker.h" 32 #include "chrome/browser/extensions/api/web_request/web_request_time_tracker.h"
33 #include "chrome/browser/extensions/extension_renderer_state.h" 33 #include "chrome/browser/extensions/extension_renderer_state.h"
34 #include "chrome/browser/extensions/extension_warning_service.h" 34 #include "chrome/browser/extensions/extension_warning_service.h"
35 #include "chrome/browser/extensions/extension_warning_set.h" 35 #include "chrome/browser/extensions/extension_warning_set.h"
36 #include "chrome/browser/profiles/profile.h" 36 #include "chrome/browser/profiles/profile.h"
37 #include "chrome/browser/profiles/profile_manager.h" 37 #include "chrome/browser/profiles/profile_manager.h"
38 #include "chrome/browser/renderer_host/chrome_render_message_filter.h" 38 #include "chrome/browser/renderer_host/chrome_render_message_filter.h"
39 #include "chrome/common/extensions/api/web_request.h" 39 #include "chrome/common/extensions/api/web_request.h"
40 #include "chrome/common/extensions/extension_constants.h" 40 #include "chrome/common/extensions/extension_constants.h"
41 #include "chrome/common/extensions/extension_messages.h"
42 #include "chrome/common/url_constants.h" 41 #include "chrome/common/url_constants.h"
43 #include "content/public/browser/browser_message_filter.h" 42 #include "content/public/browser/browser_message_filter.h"
44 #include "content/public/browser/browser_thread.h" 43 #include "content/public/browser/browser_thread.h"
45 #include "content/public/browser/render_process_host.h" 44 #include "content/public/browser/render_process_host.h"
46 #include "content/public/browser/resource_request_info.h" 45 #include "content/public/browser/resource_request_info.h"
47 #include "content/public/browser/user_metrics.h" 46 #include "content/public/browser/user_metrics.h"
48 #include "extensions/browser/event_router.h" 47 #include "extensions/browser/event_router.h"
49 #include "extensions/browser/extension_prefs.h" 48 #include "extensions/browser/extension_prefs.h"
50 #include "extensions/browser/extension_registry.h" 49 #include "extensions/browser/extension_registry.h"
51 #include "extensions/browser/extension_system.h" 50 #include "extensions/browser/extension_system.h"
52 #include "extensions/browser/info_map.h" 51 #include "extensions/browser/info_map.h"
53 #include "extensions/browser/runtime_data.h" 52 #include "extensions/browser/runtime_data.h"
54 #include "extensions/common/error_utils.h" 53 #include "extensions/common/error_utils.h"
55 #include "extensions/common/event_filtering_info.h" 54 #include "extensions/common/event_filtering_info.h"
56 #include "extensions/common/extension.h" 55 #include "extensions/common/extension.h"
56 #include "extensions/common/extension_messages.h"
57 #include "extensions/common/extension_set.h" 57 #include "extensions/common/extension_set.h"
58 #include "extensions/common/features/feature.h" 58 #include "extensions/common/features/feature.h"
59 #include "extensions/common/permissions/permissions_data.h" 59 #include "extensions/common/permissions/permissions_data.h"
60 #include "extensions/common/url_pattern.h" 60 #include "extensions/common/url_pattern.h"
61 #include "grit/generated_resources.h" 61 #include "grit/generated_resources.h"
62 #include "net/base/auth.h" 62 #include "net/base/auth.h"
63 #include "net/base/net_errors.h" 63 #include "net/base/net_errors.h"
64 #include "net/base/upload_data_stream.h" 64 #include "net/base/upload_data_stream.h"
65 #include "net/http/http_response_headers.h" 65 #include "net/http/http_response_headers.h"
66 #include "net/url_request/url_request.h" 66 #include "net/url_request/url_request.h"
(...skipping 2359 matching lines...) Expand 10 before | Expand all | Expand 10 after
2426 } else if ((*it)->name().find("AdBlock") != std::string::npos) { 2426 } else if ((*it)->name().find("AdBlock") != std::string::npos) {
2427 adblock = true; 2427 adblock = true;
2428 } else { 2428 } else {
2429 other = true; 2429 other = true;
2430 } 2430 }
2431 } 2431 }
2432 } 2432 }
2433 2433
2434 host->Send(new ExtensionMsg_UsingWebRequestAPI(adblock, adblock_plus, other)); 2434 host->Send(new ExtensionMsg_UsingWebRequestAPI(adblock, adblock_plus, other));
2435 } 2435 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/browser/extensions/api/web_request/web_request_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698