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

Side by Side Diff: chrome/common/extensions/extension_localization_peer.h

Issue 6621006: Take out the is_content_filtered bool that gets passed around betwen renderer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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
« no previous file with comments | « no previous file | chrome/common/extensions/extension_localization_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_ 5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_ 6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 19 matching lines...) Expand all
30 const GURL& request_url); 30 const GURL& request_url);
31 31
32 // ResourceLoaderBridge::Peer methods. 32 // ResourceLoaderBridge::Peer methods.
33 virtual void OnUploadProgress(uint64 position, uint64 size); 33 virtual void OnUploadProgress(uint64 position, uint64 size);
34 virtual bool OnReceivedRedirect( 34 virtual bool OnReceivedRedirect(
35 const GURL& new_url, 35 const GURL& new_url,
36 const webkit_glue::ResourceResponseInfo& info, 36 const webkit_glue::ResourceResponseInfo& info,
37 bool* has_new_first_party_for_cookies, 37 bool* has_new_first_party_for_cookies,
38 GURL* new_first_party_for_cookies); 38 GURL* new_first_party_for_cookies);
39 virtual void OnReceivedResponse( 39 virtual void OnReceivedResponse(
40 const webkit_glue::ResourceResponseInfo& info, 40 const webkit_glue::ResourceResponseInfo& info);
41 bool content_filtered);
42 virtual void OnDownloadedData(int len) {} 41 virtual void OnDownloadedData(int len) {}
43 virtual void OnReceivedData(const char* data, int len); 42 virtual void OnReceivedData(const char* data, int len);
44 virtual void OnCompletedRequest(const net::URLRequestStatus& status, 43 virtual void OnCompletedRequest(const net::URLRequestStatus& status,
45 const std::string& security_info, 44 const std::string& security_info,
46 const base::Time& completion_time); 45 const base::Time& completion_time);
47 46
48 private: 47 private:
49 friend class ExtensionLocalizationPeerTest; 48 friend class ExtensionLocalizationPeerTest;
50 49
51 // Use CreateExtensionLocalizationPeer to create an instance. 50 // Use CreateExtensionLocalizationPeer to create an instance.
(...skipping 20 matching lines...) Expand all
72 std::string data_; 71 std::string data_;
73 72
74 // Original request URL. 73 // Original request URL.
75 GURL request_url_; 74 GURL request_url_;
76 75
77 private: 76 private:
78 DISALLOW_COPY_AND_ASSIGN(ExtensionLocalizationPeer); 77 DISALLOW_COPY_AND_ASSIGN(ExtensionLocalizationPeer);
79 }; 78 };
80 79
81 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_ 80 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_LOCALIZATION_PEER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/extension_localization_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698