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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 11036054: Change the directory containing hyphenation dictionaries. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 161449)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -75,6 +75,7 @@
#include "chrome/browser/view_type_utils.h"
#include "chrome/common/child_process_logging.h"
#include "chrome/common/chrome_constants.h"
+#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_process_policy.h"
@@ -1745,6 +1746,12 @@
switches::kPpapiFlashInProcess);
}
+FilePath ChromeContentBrowserClient::GetHyphenDictionaryDirectory() {
+ FilePath directory;
+ PathService::Get(chrome::DIR_APP_DICTIONARIES, &directory);
+ return directory.Append(FILE_PATH_LITERAL("Hyphen"));
+}
+
#if defined(OS_POSIX) && !defined(OS_MACOSX)
void ChromeContentBrowserClient::GetAdditionalMappedFilesForChildProcess(
const CommandLine& command_line,
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | content/browser/hyphenator/hyphenator_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698