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

Side by Side Diff: chrome/browser/renderer_host/browser_render_process_host.cc

Issue 6366021: Adding support for JavaScript internationalization API as V8 extension. See p... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/browser/renderer_host/browser_render_process_host.h" 8 #include "chrome/browser/renderer_host/browser_render_process_host.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 switches::kEnableSandboxLogging, 688 switches::kEnableSandboxLogging,
689 #endif 689 #endif
690 switches::kEnableSearchProviderApiV2, 690 switches::kEnableSearchProviderApiV2,
691 switches::kEnableSeccompSandbox, 691 switches::kEnableSeccompSandbox,
692 switches::kEnableStatsTable, 692 switches::kEnableStatsTable,
693 switches::kEnableTouch, 693 switches::kEnableTouch,
694 switches::kEnableVideoFullscreen, 694 switches::kEnableVideoFullscreen,
695 switches::kEnableVideoLogging, 695 switches::kEnableVideoLogging,
696 switches::kEnableWatchdog, 696 switches::kEnableWatchdog,
697 switches::kEnableWebAudio, 697 switches::kEnableWebAudio,
698 switches::kEnableJavaScriptI18NAPI,
698 switches::kExperimentalSpellcheckerFeatures, 699 switches::kExperimentalSpellcheckerFeatures,
699 switches::kFullMemoryCrashReport, 700 switches::kFullMemoryCrashReport,
700 #if !defined (GOOGLE_CHROME_BUILD) 701 #if !defined (GOOGLE_CHROME_BUILD)
701 // These are unsupported and not fully tested modes, so don't enable them 702 // These are unsupported and not fully tested modes, so don't enable them
702 // for official Google Chrome builds. 703 // for official Google Chrome builds.
703 switches::kInProcessPlugins, 704 switches::kInProcessPlugins,
704 #endif // GOOGLE_CHROME_BUILD 705 #endif // GOOGLE_CHROME_BUILD
705 switches::kInProcessWebGL, 706 switches::kInProcessWebGL,
706 switches::kInternalNaCl, 707 switches::kInternalNaCl,
707 switches::kInternalPepper, 708 switches::kInternalPepper,
(...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 IPC::PlatformFileForTransit file; 1279 IPC::PlatformFileForTransit file;
1279 #if defined(OS_POSIX) 1280 #if defined(OS_POSIX)
1280 file = base::FileDescriptor(model_file, false); 1281 file = base::FileDescriptor(model_file, false);
1281 #elif defined(OS_WIN) 1282 #elif defined(OS_WIN)
1282 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0, 1283 ::DuplicateHandle(::GetCurrentProcess(), model_file, GetHandle(), &file, 0,
1283 false, DUPLICATE_SAME_ACCESS); 1284 false, DUPLICATE_SAME_ACCESS);
1284 #endif 1285 #endif
1285 Send(new ViewMsg_SetPhishingModel(file)); 1286 Send(new ViewMsg_SetPhishingModel(file));
1286 } 1287 }
1287 } 1288 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698