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

Side by Side Diff: chrome/browser/net/chrome_network_delegate.cc

Issue 124393003: Break dependency of chrome.gyp:common on content.gyp:content_browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix header macro Created 6 years, 11 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/net/chrome_network_delegate.h" 5 #include "chrome/browser/net/chrome_network_delegate.h"
6 6
7 #include <stdlib.h> 7 #include <stdlib.h>
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "net/socket_stream/socket_stream.h" 52 #include "net/socket_stream/socket_stream.h"
53 #include "net/url_request/url_request.h" 53 #include "net/url_request/url_request.h"
54 54
55 #if defined(OS_CHROMEOS) 55 #if defined(OS_CHROMEOS)
56 #include "base/command_line.h" 56 #include "base/command_line.h"
57 #include "base/sys_info.h" 57 #include "base/sys_info.h"
58 #include "chrome/common/chrome_switches.h" 58 #include "chrome/common/chrome_switches.h"
59 #endif 59 #endif
60 60
61 #if defined(ENABLE_CONFIGURATION_POLICY) 61 #if defined(ENABLE_CONFIGURATION_POLICY)
62 #include "components/policy/core/common/url_blacklist_manager.h" 62 #include "components/policy/core/browser/url_blacklist_manager.h"
63 #endif 63 #endif
64 64
65 #if defined(OS_ANDROID) 65 #if defined(OS_ANDROID)
66 #include "components/precache/content/precache_manager.h" 66 #include "components/precache/content/precache_manager.h"
67 #include "components/precache/content/precache_manager_factory.h" 67 #include "components/precache/content/precache_manager_factory.h"
68 #endif 68 #endif
69 69
70 using content::BrowserThread; 70 using content::BrowserThread;
71 using content::RenderViewHost; 71 using content::RenderViewHost;
72 using content::ResourceRequestInfo; 72 using content::ResourceRequestInfo;
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 spdyproxy::DataReductionRequestType data_reduction_type) { 800 spdyproxy::DataReductionRequestType data_reduction_type) {
801 DCHECK_GE(received_content_length, 0); 801 DCHECK_GE(received_content_length, 0);
802 DCHECK_GE(original_content_length, 0); 802 DCHECK_GE(original_content_length, 0);
803 StoreAccumulatedContentLength(received_content_length, 803 StoreAccumulatedContentLength(received_content_length,
804 original_content_length, 804 original_content_length,
805 data_reduction_type, 805 data_reduction_type,
806 reinterpret_cast<Profile*>(profile_)); 806 reinterpret_cast<Profile*>(profile_));
807 received_content_length_ += received_content_length; 807 received_content_length_ += received_content_length;
808 original_content_length_ += original_content_length; 808 original_content_length_ += original_content_length;
809 } 809 }
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode/managed_mode_url_filter.cc ('k') | chrome/browser/policy/url_blacklist_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698