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

Unified Diff: content/public/test/mock_render_process_host.h

Issue 2816393002: Implement Connector::ApplySpec() & use to enforce navigation:frame (Closed)
Patch Set: . Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_process_host.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index fbb49347e72339eccae23119c64e9482fabe8c9d..2e751dd32ce2db617b0936d67f51a4730b17c54e 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -19,6 +19,7 @@
#include "ipc/ipc_test_sink.h"
#include "media/media_features.h"
#include "mojo/public/cpp/bindings/associated_interface_ptr.h"
+#include "services/service_manager/public/cpp/identity.h"
#include "services/service_manager/public/cpp/interface_provider.h"
class StoragePartition;
@@ -104,6 +105,7 @@ class MockRenderProcessHost : public RenderProcessHost {
void ResumeDeferredNavigation(const GlobalRequestID& request_id) override;
void BindInterface(const std::string& interface_name,
mojo::ScopedMessagePipeHandle interface_pipe) override;
+ const service_manager::Identity& GetChildIdentity() const override;
std::unique_ptr<base::SharedPersistentMemoryAllocator> TakeMetricsAllocator()
override;
const base::TimeTicks& GetInitTimeForNavigationMetrics() const override;
@@ -171,6 +173,7 @@ class MockRenderProcessHost : public RenderProcessHost {
std::unique_ptr<mojo::AssociatedInterfacePtr<mojom::Renderer>>
renderer_interface_;
std::map<std::string, InterfaceBinder> binder_overrides_;
+ service_manager::Identity child_identity_;
DISALLOW_COPY_AND_ASSIGN(MockRenderProcessHost);
};
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | content/public/test/mock_render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698