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

Unified Diff: services/navigation/content_client/main_delegate.cc

Issue 1981623002: Add a basic browser to mash that uses the navigation service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 | « services/navigation/content_client/browser_main_parts.cc ('k') | services/navigation/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/content_client/main_delegate.cc
diff --git a/services/navigation/content_client/main_delegate.cc b/services/navigation/content_client/main_delegate.cc
index 28bd258e204647ad760f03ac81a7fd7fb798f466..167c15dabc6db459e6f86aabd573a8a0a9442f6a 100644
--- a/services/navigation/content_client/main_delegate.cc
+++ b/services/navigation/content_client/main_delegate.cc
@@ -29,6 +29,10 @@ bool MainDelegate::BasicStartupComplete(int* exit_code) {
}
void MainDelegate::PreSandboxStartup() {
+ base::FilePath path;
+ PathService::Get(base::DIR_MODULE, &path);
+ base::FilePath pak_path = path.Append(FILE_PATH_LITERAL("navigation.pak"));
+ ui::ResourceBundle::InitSharedInstanceWithPakPath(pak_path);
ui::InitializeInputMethodForTesting();
}
« no previous file with comments | « services/navigation/content_client/browser_main_parts.cc ('k') | services/navigation/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698