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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.h

Issue 1507023004: Harden the implementation of '--disable-web-security' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: esprehn feedback Created 5 years 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
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 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 6 #define CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual bool sandboxEnabled(); 79 virtual bool sandboxEnabled();
80 unsigned long long visitedLinkHash(const char* canonicalURL, 80 unsigned long long visitedLinkHash(const char* canonicalURL,
81 size_t length) override; 81 size_t length) override;
82 bool isLinkVisited(unsigned long long linkHash) override; 82 bool isLinkVisited(unsigned long long linkHash) override;
83 void createMessageChannel(blink::WebMessagePortChannel** channel1, 83 void createMessageChannel(blink::WebMessagePortChannel** channel1,
84 blink::WebMessagePortChannel** channel2) override; 84 blink::WebMessagePortChannel** channel2) override;
85 blink::WebPrescientNetworking* prescientNetworking() override; 85 blink::WebPrescientNetworking* prescientNetworking() override;
86 void cacheMetadata(const blink::WebURL&, int64, const char*, size_t) override; 86 void cacheMetadata(const blink::WebURL&, int64, const char*, size_t) override;
87 blink::WebString defaultLocale() override; 87 blink::WebString defaultLocale() override;
88 void suddenTerminationChanged(bool enabled) override; 88 void suddenTerminationChanged(bool enabled) override;
89 bool canGrantUniversalAccess() override;
89 blink::WebStorageNamespace* createLocalStorageNamespace() override; 90 blink::WebStorageNamespace* createLocalStorageNamespace() override;
90 blink::Platform::FileHandle databaseOpenFile( 91 blink::Platform::FileHandle databaseOpenFile(
91 const blink::WebString& vfs_file_name, 92 const blink::WebString& vfs_file_name,
92 int desired_flags) override; 93 int desired_flags) override;
93 int databaseDeleteFile(const blink::WebString& vfs_file_name, 94 int databaseDeleteFile(const blink::WebString& vfs_file_name,
94 bool sync_dir) override; 95 bool sync_dir) override;
95 long databaseGetFileAttributes( 96 long databaseGetFileAttributes(
96 const blink::WebString& vfs_file_name) override; 97 const blink::WebString& vfs_file_name) override;
97 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; 98 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override;
98 long long databaseGetSpaceAvailableForOrigin( 99 long long databaseGetSpaceAvailableForOrigin(
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; 283 IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_;
283 284
284 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED 285 scheduler::RendererScheduler* renderer_scheduler_; // NOT OWNED
285 286
286 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl); 287 DISALLOW_COPY_AND_ASSIGN(RendererBlinkPlatformImpl);
287 }; 288 };
288 289
289 } // namespace content 290 } // namespace content
290 291
291 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_ 292 #endif // CONTENT_RENDERER_RENDERER_BLINK_PLATFORM_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698