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

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 argument check and updated comment and BUILD.gn Created 4 years, 3 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
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 1621 matching lines...) Expand 10 before | Expand all | Expand 10 after
1632 switches::kInertVisualViewport, 1632 switches::kInertVisualViewport,
1633 switches::kIPCConnectionTimeout, 1633 switches::kIPCConnectionTimeout,
1634 switches::kIsRunningInMash, 1634 switches::kIsRunningInMash,
1635 switches::kJavaScriptFlags, 1635 switches::kJavaScriptFlags,
1636 switches::kLoggingLevel, 1636 switches::kLoggingLevel,
1637 switches::kMainFrameResizesAreOrientationChanges, 1637 switches::kMainFrameResizesAreOrientationChanges,
1638 switches::kMaxUntiledLayerWidth, 1638 switches::kMaxUntiledLayerWidth,
1639 switches::kMaxUntiledLayerHeight, 1639 switches::kMaxUntiledLayerHeight,
1640 switches::kMemoryMetrics, 1640 switches::kMemoryMetrics,
1641 switches::kMojoLocalStorage, 1641 switches::kMojoLocalStorage,
1642 switches::kMojoServiceWorker,
1642 switches::kMSEAudioBufferSizeLimit, 1643 switches::kMSEAudioBufferSizeLimit,
1643 switches::kMSEVideoBufferSizeLimit, 1644 switches::kMSEVideoBufferSizeLimit,
1644 switches::kNoReferrers, 1645 switches::kNoReferrers,
1645 switches::kNoSandbox, 1646 switches::kNoSandbox,
1646 switches::kOverridePluginPowerSaverForTesting, 1647 switches::kOverridePluginPowerSaverForTesting,
1647 switches::kPassiveListenersDefault, 1648 switches::kPassiveListenersDefault,
1648 switches::kPpapiInProcess, 1649 switches::kPpapiInProcess,
1649 switches::kProfilerTiming, 1650 switches::kProfilerTiming,
1650 switches::kReducedReferrerGranularity, 1651 switches::kReducedReferrerGranularity,
1651 switches::kReduceSecurityForTesting, 1652 switches::kReduceSecurityForTesting,
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
2934 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2935 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2935 2936
2936 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2937 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2937 // enough information here so that we can determine what the bad message was. 2938 // enough information here so that we can determine what the bad message was.
2938 base::debug::Alias(&error); 2939 base::debug::Alias(&error);
2939 bad_message::ReceivedBadMessage(process.get(), 2940 bad_message::ReceivedBadMessage(process.get(),
2940 bad_message::RPH_MOJO_PROCESS_ERROR); 2941 bad_message::RPH_MOJO_PROCESS_ERROR);
2941 } 2942 }
2942 2943
2943 } // namespace content 2944 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698