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

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

Issue 2374353002: Revert "Revert of ServiceWorker: Implement StartWorker by using mojo (patchset #1 id:1 of https://c… (Closed)
Patch Set: 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 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1738 switches::kInertVisualViewport, 1738 switches::kInertVisualViewport,
1739 switches::kIPCConnectionTimeout, 1739 switches::kIPCConnectionTimeout,
1740 switches::kIsRunningInMash, 1740 switches::kIsRunningInMash,
1741 switches::kJavaScriptFlags, 1741 switches::kJavaScriptFlags,
1742 switches::kLoggingLevel, 1742 switches::kLoggingLevel,
1743 switches::kMainFrameResizesAreOrientationChanges, 1743 switches::kMainFrameResizesAreOrientationChanges,
1744 switches::kMaxUntiledLayerWidth, 1744 switches::kMaxUntiledLayerWidth,
1745 switches::kMaxUntiledLayerHeight, 1745 switches::kMaxUntiledLayerHeight,
1746 switches::kMemoryMetrics, 1746 switches::kMemoryMetrics,
1747 switches::kMojoLocalStorage, 1747 switches::kMojoLocalStorage,
1748 switches::kMojoServiceWorker,
1748 switches::kMSEAudioBufferSizeLimit, 1749 switches::kMSEAudioBufferSizeLimit,
1749 switches::kMSEVideoBufferSizeLimit, 1750 switches::kMSEVideoBufferSizeLimit,
1750 switches::kNoReferrers, 1751 switches::kNoReferrers,
1751 switches::kNoSandbox, 1752 switches::kNoSandbox,
1752 switches::kOverridePluginPowerSaverForTesting, 1753 switches::kOverridePluginPowerSaverForTesting,
1753 switches::kPassiveListenersDefault, 1754 switches::kPassiveListenersDefault,
1754 switches::kPpapiInProcess, 1755 switches::kPpapiInProcess,
1755 switches::kProfilerTiming, 1756 switches::kProfilerTiming,
1756 switches::kReducedReferrerGranularity, 1757 switches::kReducedReferrerGranularity,
1757 switches::kReduceSecurityForTesting, 1758 switches::kReduceSecurityForTesting,
(...skipping 1287 matching lines...) Expand 10 before | Expand all | Expand 10 after
3045 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3046 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3046 3047
3047 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 3048 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
3048 // enough information here so that we can determine what the bad message was. 3049 // enough information here so that we can determine what the bad message was.
3049 base::debug::Alias(&error); 3050 base::debug::Alias(&error);
3050 bad_message::ReceivedBadMessage(process.get(), 3051 bad_message::ReceivedBadMessage(process.get(),
3051 bad_message::RPH_MOJO_PROCESS_ERROR); 3052 bad_message::RPH_MOJO_PROCESS_ERROR);
3052 } 3053 }
3053 3054
3054 } // namespace content 3055 } // 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