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

Unified Diff: shell/context.cc

Issue 866283007: clang-format //shell and add a PRESUBMIT.py to keep it clang-formatted. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove virtual when there's override. Created 5 years, 10 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 | « shell/application_manager/application_manager_unittest.cc ('k') | shell/dynamic_service_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/context.cc
diff --git a/shell/context.cc b/shell/context.cc
index c7e3d02829c98c3112a8b4bd38ee9ccdd4155300..94b71f4c37f9a1f7c567ee8e1ac616ee6746f30d 100644
--- a/shell/context.cc
+++ b/shell/context.cc
@@ -103,8 +103,7 @@ void InitContentHandlers(DynamicApplicationLoader* loader,
}
}
-bool ConfigureURLMappings(base::CommandLine* command_line,
- Context* context) {
+bool ConfigureURLMappings(base::CommandLine* command_line, Context* context) {
URLResolver* resolver = context->url_resolver();
// Configure the resolution of unknown mojo: URLs.
@@ -130,7 +129,7 @@ bool ConfigureURLMappings(base::CommandLine* command_line,
// Command line URL mapping.
if (command_line->HasSwitch(switches::kURLMappings)) {
const std::string mappings =
- command_line->GetSwitchValueASCII(switches::kURLMappings);
+ command_line->GetSwitchValueASCII(switches::kURLMappings);
base::StringPairs pairs;
if (!base::SplitStringIntoKeyValuePairs(mappings, '=', ',', &pairs))
« no previous file with comments | « shell/application_manager/application_manager_unittest.cc ('k') | shell/dynamic_service_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698