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

Unified Diff: chrome/app/dummy_main_functions.cc

Issue 7397004: Take two at splitting result codes between content and chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile failure in uninstall.cc Created 9 years, 5 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 | « chrome/app/client_util.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/dummy_main_functions.cc
diff --git a/chrome/app/dummy_main_functions.cc b/chrome/app/dummy_main_functions.cc
index f3b4a61e1516d27e726579e33e3cafa2dad4afa5..4240564622295243aebeea8b926548b032ffcade 100644
--- a/chrome/app/dummy_main_functions.cc
+++ b/chrome/app/dummy_main_functions.cc
@@ -2,45 +2,45 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "chrome/common/chrome_result_codes.h"
#include "content/common/main_function_params.h"
-#include "content/common/result_codes.h"
// Native Client binary for 64-bit Windows can run only the NaCl loader or
// the sandbox broker processes. Other process types are not supported.
int BrowserMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int RendererMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int PluginMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int PpapiPluginMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int PpapiBrokerMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int WorkerMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int UtilityMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int ProfileImportMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int ZygoteMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int DiagnosticsMain(const CommandLine& command_line) {
@@ -48,9 +48,9 @@ int DiagnosticsMain(const CommandLine& command_line) {
}
int GpuMain(const MainFunctionParams&) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
int ServiceProcessMain(const MainFunctionParams& parameters) {
- return ResultCodes::BAD_PROCESS_TYPE;
+ return chrome::RESULT_CODE_BAD_PROCESS_TYPE;
}
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/browser/browser_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698