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

Side by Side Diff: chrome/common/security_filter_peer.cc

Issue 115412: Fix Skia includes to use the whole path name. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/common/ipc_message_utils.cc ('k') | chrome/renderer/renderer_glue.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/common/security_filter_peer.h" 5 #include "chrome/common/security_filter_peer.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "base/gfx/png_encoder.h" 9 #include "base/gfx/png_encoder.h"
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/renderer_resources.h" 13 #include "grit/renderer_resources.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "net/http/http_response_headers.h" 15 #include "net/http/http_response_headers.h"
16 #include "third_party/skia/include/core/SkCanvas.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "third_party/skia/include/core/SkBitmap.h"
17 #include "third_party/skia/include/core/SkCanvas.h" 18 #include "third_party/skia/include/core/SkDevice.h"
18 #include "webkit/glue/webkit_glue.h" 19 #include "webkit/glue/webkit_glue.h"
19 #include "SkDevice.h"
20
21 20
22 SecurityFilterPeer::SecurityFilterPeer( 21 SecurityFilterPeer::SecurityFilterPeer(
23 webkit_glue::ResourceLoaderBridge* resource_loader_bridge, 22 webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
24 webkit_glue::ResourceLoaderBridge::Peer* peer) 23 webkit_glue::ResourceLoaderBridge::Peer* peer)
25 : original_peer_(peer), 24 : original_peer_(peer),
26 resource_loader_bridge_(resource_loader_bridge) { 25 resource_loader_bridge_(resource_loader_bridge) {
27 } 26 }
28 27
29 SecurityFilterPeer::~SecurityFilterPeer() { 28 SecurityFilterPeer::~SecurityFilterPeer() {
30 } 29 }
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 return false; 311 return false;
313 } 312 }
314 313
315 // Copy the vector content to data_ which is a string. 314 // Copy the vector content to data_ which is a string.
316 data_.clear(); 315 data_.clear();
317 data_.resize(output.size()); 316 data_.resize(output.size());
318 std::copy(output.begin(), output.end(), data_.begin()); 317 std::copy(output.begin(), output.end(), data_.begin());
319 318
320 return true; 319 return true;
321 } 320 }
OLDNEW
« no previous file with comments | « chrome/common/ipc_message_utils.cc ('k') | chrome/renderer/renderer_glue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698