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

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2227593002: ServiceWorker: Implement StartWorker by using mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added EmbeddedWorkerInstanceClient as an interface Created 4 years, 2 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
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_instance.h » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // Represents the browser side of the browser <--> renderer communication 5 // Represents the browser side of the browser <--> renderer communication
6 // channel. There will be one RenderProcessHost per renderer process. 6 // channel. There will be one RenderProcessHost per renderer process.
7 7
8 #include "content/browser/renderer_host/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 switches::kInertVisualViewport, 1687 switches::kInertVisualViewport,
1688 switches::kIPCConnectionTimeout, 1688 switches::kIPCConnectionTimeout,
1689 switches::kIsRunningInMash, 1689 switches::kIsRunningInMash,
1690 switches::kJavaScriptFlags, 1690 switches::kJavaScriptFlags,
1691 switches::kLoggingLevel, 1691 switches::kLoggingLevel,
1692 switches::kMainFrameResizesAreOrientationChanges, 1692 switches::kMainFrameResizesAreOrientationChanges,
1693 switches::kMaxUntiledLayerWidth, 1693 switches::kMaxUntiledLayerWidth,
1694 switches::kMaxUntiledLayerHeight, 1694 switches::kMaxUntiledLayerHeight,
1695 switches::kMemoryMetrics, 1695 switches::kMemoryMetrics,
1696 switches::kMojoLocalStorage, 1696 switches::kMojoLocalStorage,
1697 switches::kMojoServiceWorker,
1697 switches::kMSEAudioBufferSizeLimit, 1698 switches::kMSEAudioBufferSizeLimit,
1698 switches::kMSEVideoBufferSizeLimit, 1699 switches::kMSEVideoBufferSizeLimit,
1699 switches::kNoReferrers, 1700 switches::kNoReferrers,
1700 switches::kNoSandbox, 1701 switches::kNoSandbox,
1701 switches::kOverridePluginPowerSaverForTesting, 1702 switches::kOverridePluginPowerSaverForTesting,
1702 switches::kPassiveListenersDefault, 1703 switches::kPassiveListenersDefault,
1703 switches::kPpapiInProcess, 1704 switches::kPpapiInProcess,
1704 switches::kProfilerTiming, 1705 switches::kProfilerTiming,
1705 switches::kReducedReferrerGranularity, 1706 switches::kReducedReferrerGranularity,
1706 switches::kReduceSecurityForTesting, 1707 switches::kReduceSecurityForTesting,
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
2994 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2995 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2995 2996
2996 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2997 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2997 // enough information here so that we can determine what the bad message was. 2998 // enough information here so that we can determine what the bad message was.
2998 base::debug::Alias(&error); 2999 base::debug::Alias(&error);
2999 bad_message::ReceivedBadMessage(process.get(), 3000 bad_message::ReceivedBadMessage(process.get(),
3000 bad_message::RPH_MOJO_PROCESS_ERROR); 3001 bad_message::RPH_MOJO_PROCESS_ERROR);
3001 } 3002 }
3002 3003
3003 } // namespace content 3004 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698