summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-25 04:46:55 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-25 04:46:55 +0000
commitb39ef1cbd64f15a141e553e0fd55e6b71606140b (patch)
treea0a12b35c8740f2afe84d0e081723a5170bc445d
parent670b7936c8f5469c8cf227b72386d654a0eebf25 (diff)
downloadchromium_src-b39ef1cbd64f15a141e553e0fd55e6b71606140b.zip
chromium_src-b39ef1cbd64f15a141e553e0fd55e6b71606140b.tar.gz
chromium_src-b39ef1cbd64f15a141e553e0fd55e6b71606140b.tar.bz2
Move resource_codes to content/public/common.
BUG=98716 Review URL: http://codereview.chromium.org/8382021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107061 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/chrome_exe_main_win.cc2
-rw-r--r--chrome/browser/chrome_browser_main_mac.mm2
-rw-r--r--chrome/browser/extensions/extension_crash_recovery_browsertest.cc2
-rw-r--r--chrome/browser/extensions/extension_function.cc2
-rw-r--r--chrome/browser/first_run/first_run_gtk.cc2
-rw-r--r--chrome/browser/first_run/first_run_import_observer.cc2
-rw-r--r--chrome/browser/hang_monitor/hung_window_detector.cc2
-rw-r--r--chrome/browser/process_singleton_win.cc2
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_views.cc4
-rw-r--r--chrome/browser/renderer_host/web_cache_manager_browsertest.cc2
-rw-r--r--chrome/browser/task_manager/task_manager.cc2
-rw-r--r--chrome/browser/ui/browser_list.cc2
-rw-r--r--chrome/browser/ui/cocoa/hung_renderer_controller.mm2
-rw-r--r--chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc2
-rw-r--r--chrome/browser/ui/views/hung_renderer_view.cc2
-rw-r--r--chrome/browser/ui/webui/hung_renderer_dialog.cc2
-rw-r--r--chrome/common/chrome_result_codes.h2
-rw-r--r--chrome/installer/setup/uninstall.cc1
-rw-r--r--chrome/installer/util/google_chrome_distribution.cc1
-rw-r--r--chrome/service/service_child_process_host.cc2
-rw-r--r--chrome/test/base/chrome_process_util.cc2
-rw-r--r--content/browser/browser_child_process_host.cc2
-rw-r--r--content/browser/browser_main.cc2
-rw-r--r--content/browser/browser_message_filter.cc2
-rw-r--r--content/browser/child_process_launcher.cc2
-rw-r--r--content/browser/child_process_security_policy_browsertest.cc2
-rw-r--r--content/browser/gpu/gpu_process_host.cc2
-rw-r--r--content/browser/in_process_webkit/indexed_db_dispatcher_host.cc2
-rw-r--r--content/browser/renderer_host/browser_render_process_host.cc2
-rw-r--r--content/browser/renderer_host/database_message_filter.cc2
-rw-r--r--content/browser/renderer_host/render_view_host.cc2
-rw-r--r--content/browser/renderer_host/render_widget_host.cc2
-rw-r--r--content/browser/worker_host/worker_process_host.cc2
-rw-r--r--content/browser/zygote_host_linux.cc2
-rw-r--r--content/browser/zygote_main_linux.cc2
-rw-r--r--content/common/handle_enumerator_win.cc2
-rw-r--r--content/common/process_watcher_win.cc3
-rw-r--r--content/content_common.gypi1
-rw-r--r--content/gpu/gpu_watchdog_thread.cc2
-rw-r--r--content/public/common/result_codes.h (renamed from content/common/result_codes.h)8
40 files changed, 44 insertions, 42 deletions
diff --git a/chrome/app/chrome_exe_main_win.cc b/chrome/app/chrome_exe_main_win.cc
index 8d53054..93b4871 100644
--- a/chrome/app/chrome_exe_main_win.cc
+++ b/chrome/app/chrome_exe_main_win.cc
@@ -10,7 +10,7 @@
#include "chrome/app/breakpad_win.h"
#include "chrome/app/client_util.h"
#include "content/app/startup_helper_win.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "sandbox/src/sandbox_factory.h"
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t*, int) {
diff --git a/chrome/browser/chrome_browser_main_mac.mm b/chrome/browser/chrome_browser_main_mac.mm
index 1873eae..fe7913d 100644
--- a/chrome/browser/chrome_browser_main_mac.mm
+++ b/chrome/browser/chrome_browser_main_mac.mm
@@ -20,7 +20,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "content/common/main_function_params.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/base/resource/resource_bundle.h"
diff --git a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
index 3898d87..ee1bec2 100644
--- a/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
+++ b/chrome/browser/extensions/extension_crash_recovery_browsertest.cc
@@ -19,7 +19,7 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
class ExtensionCrashRecoveryTest : public ExtensionBrowserTest {
protected:
diff --git a/chrome/browser/extensions/extension_function.cc b/chrome/browser/extensions/extension_function.cc
index 64a901c..2983007 100644
--- a/chrome/browser/extensions/extension_function.cc
+++ b/chrome/browser/extensions/extension_function.cc
@@ -14,9 +14,9 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/user_metrics.h"
-#include "content/common/result_codes.h"
#include "content/public/browser/notification_source.h"
#include "content/public/browser/notification_types.h"
+#include "content/public/common/result_codes.h"
// static
void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) {
diff --git a/chrome/browser/first_run/first_run_gtk.cc b/chrome/browser/first_run/first_run_gtk.cc
index f866d0b..eb5251a 100644
--- a/chrome/browser/first_run/first_run_gtk.cc
+++ b/chrome/browser/first_run/first_run_gtk.cc
@@ -17,7 +17,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/installer/util/google_update_settings.h"
#include "chrome/installer/util/master_preferences.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "googleurl/src/gurl.h"
#include "ui/base/ui_base_switches.h"
diff --git a/chrome/browser/first_run/first_run_import_observer.cc b/chrome/browser/first_run/first_run_import_observer.cc
index 0e07390..611e957 100644
--- a/chrome/browser/first_run/first_run_import_observer.cc
+++ b/chrome/browser/first_run/first_run_import_observer.cc
@@ -5,7 +5,7 @@
#include "chrome/browser/first_run/first_run_import_observer.h"
#include "base/message_loop.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
FirstRunImportObserver::FirstRunImportObserver()
: loop_running_(false), import_result_(content::RESULT_CODE_NORMAL_EXIT) {
diff --git a/chrome/browser/hang_monitor/hung_window_detector.cc b/chrome/browser/hang_monitor/hung_window_detector.cc
index e14ca62..a1c0050 100644
--- a/chrome/browser/hang_monitor/hung_window_detector.cc
+++ b/chrome/browser/hang_monitor/hung_window_detector.cc
@@ -8,7 +8,7 @@
#include <atlbase.h>
#include "base/logging.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
// How long do we wait for the terminated thread or process to die (in ms)
static const int kTerminateTimeout = 2000;
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index c99e2de..b09dafe 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -22,7 +22,7 @@
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/installer/util/wmi.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.cc b/chrome/browser/renderer_host/render_widget_host_view_views.cc
index f277597..ffe1530 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_views.cc
+++ b/chrome/browser/renderer_host/render_widget_host_view_views.cc
@@ -20,9 +20,9 @@
#include "chrome/common/render_messages.h"
#include "content/browser/renderer_host/backing_store_skia.h"
#include "content/browser/renderer_host/render_widget_host.h"
-#include "content/public/browser/notification_service.h"
-#include "content/common/result_codes.h"
#include "content/common/view_messages.h"
+#include "content/public/browser/notification_service.h"
+#include "content/public/common/result_codes.h"
#include "grit/ui_strings.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/gtk/WebInputEventFactory.h"
diff --git a/chrome/browser/renderer_host/web_cache_manager_browsertest.cc b/chrome/browser/renderer_host/web_cache_manager_browsertest.cc
index 1de5752..f949f7d 100644
--- a/chrome/browser/renderer_host/web_cache_manager_browsertest.cc
+++ b/chrome/browser/renderer_host/web_cache_manager_browsertest.cc
@@ -12,7 +12,7 @@
#include "chrome/test/base/ui_test_utils.h"
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "testing/gtest/include/gtest/gtest.h"
class WebCacheManagerBrowserTest : public InProcessBrowserTest {
diff --git a/chrome/browser/task_manager/task_manager.cc b/chrome/browser/task_manager/task_manager.cc
index 9f8032d..6070a92 100644
--- a/chrome/browser/task_manager/task_manager.cc
+++ b/chrome/browser/task_manager/task_manager.cc
@@ -31,7 +31,7 @@
#include "content/browser/renderer_host/resource_dispatcher_host.h"
#include "content/browser/renderer_host/resource_dispatcher_host_request_info.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/ui_resources.h"
diff --git a/chrome/browser/ui/browser_list.cc b/chrome/browser/ui/browser_list.cc
index 2b31f40..8e5a0de 100644
--- a/chrome/browser/ui/browser_list.cc
+++ b/chrome/browser/ui/browser_list.cc
@@ -21,9 +21,9 @@
#include "chrome/common/pref_names.h"
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/tab_contents/navigation_details.h"
-#include "content/common/result_codes.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/common/result_codes.h"
#if defined(OS_MACOSX)
#include "chrome/browser/chrome_browser_application_mac.h"
diff --git a/chrome/browser/ui/cocoa/hung_renderer_controller.mm b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
index 397146d..c0d162a 100644
--- a/chrome/browser/ui/cocoa/hung_renderer_controller.mm
+++ b/chrome/browser/ui/cocoa/hung_renderer_controller.mm
@@ -19,7 +19,7 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc b/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
index a4cae17..23a6f48 100644
--- a/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
+++ b/chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc
@@ -16,7 +16,7 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/ui/views/hung_renderer_view.cc b/chrome/browser/ui/views/hung_renderer_view.cc
index c1a6e71..1adb793 100644
--- a/chrome/browser/ui/views/hung_renderer_view.cc
+++ b/chrome/browser/ui/views/hung_renderer_view.cc
@@ -15,7 +15,7 @@
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "grit/chromium_strings.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
diff --git a/chrome/browser/ui/webui/hung_renderer_dialog.cc b/chrome/browser/ui/webui/hung_renderer_dialog.cc
index faf289e..0fee14a 100644
--- a/chrome/browser/ui/webui/hung_renderer_dialog.cc
+++ b/chrome/browser/ui/webui/hung_renderer_dialog.cc
@@ -21,7 +21,7 @@
#include "chrome/common/url_constants.h"
#include "content/browser/renderer_host/render_view_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
diff --git a/chrome/common/chrome_result_codes.h b/chrome/common/chrome_result_codes.h
index b380851..5b2290e 100644
--- a/chrome/common/chrome_result_codes.h
+++ b/chrome/common/chrome_result_codes.h
@@ -6,7 +6,7 @@
#define CHROME_COMMON_CHROME_RESULT_CODES_H_
#pragma once
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
namespace chrome {
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc
index 382b764..883c208 100644
--- a/chrome/installer/setup/uninstall.cc
+++ b/chrome/installer/setup/uninstall.cc
@@ -8,6 +8,7 @@
#include "base/file_util.h"
#include "base/path_service.h"
+#include "base/process_util.h"
#include "base/string_number_conversions.h"
#include "base/string_util.h"
#include "base/utf_string_conversions.h"
diff --git a/chrome/installer/util/google_chrome_distribution.cc b/chrome/installer/util/google_chrome_distribution.cc
index 92b5ea5..3f9b7db 100644
--- a/chrome/installer/util/google_chrome_distribution.cc
+++ b/chrome/installer/util/google_chrome_distribution.cc
@@ -17,6 +17,7 @@
#include "base/json/json_value_serializer.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
+#include "base/process_util.h"
#include "base/rand_util.h"
#include "base/string_number_conversions.h"
#include "base/string_split.h"
diff --git a/chrome/service/service_child_process_host.cc b/chrome/service/service_child_process_host.cc
index e25dd59..ef0de6a 100644
--- a/chrome/service/service_child_process_host.cc
+++ b/chrome/service/service_child_process_host.cc
@@ -8,7 +8,7 @@
#include "base/logging.h"
#include "base/process_util.h"
#include "chrome/common/chrome_switches.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#if defined(OS_WIN)
#include "base/file_path.h"
diff --git a/chrome/test/base/chrome_process_util.cc b/chrome/test/base/chrome_process_util.cc
index 4c046e2..b513c81 100644
--- a/chrome/test/base/chrome_process_util.cc
+++ b/chrome/test/base/chrome_process_util.cc
@@ -13,7 +13,7 @@
#include "base/time.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/test/base/test_switches.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
using base::TimeDelta;
using base::TimeTicks;
diff --git a/content/browser/browser_child_process_host.cc b/content/browser/browser_child_process_host.cc
index af10c45d..53276e6 100644
--- a/content/browser/browser_child_process_host.cc
+++ b/content/browser/browser_child_process_host.cc
@@ -19,10 +19,10 @@
#include "content/public/browser/notification_service.h"
#include "content/common/plugin_messages.h"
#include "content/common/process_watcher.h"
-#include "content/common/result_codes.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/notification_types.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#if defined(OS_WIN)
#include "base/synchronization/waitable_event.h"
diff --git a/content/browser/browser_main.cc b/content/browser/browser_main.cc
index c9432ae..c0ef41e 100644
--- a/content/browser/browser_main.cc
+++ b/content/browser/browser_main.cc
@@ -17,10 +17,10 @@
#include "content/browser/notification_service_impl.h"
#include "content/common/hi_res_timer_manager.h"
#include "content/common/main_function_params.h"
-#include "content/common/result_codes.h"
#include "content/common/sandbox_policy.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "crypto/nss_util.h"
#include "net/base/network_change_notifier.h"
#include "net/base/ssl_config_service.h"
diff --git a/content/browser/browser_message_filter.cc b/content/browser/browser_message_filter.cc
index 7d1c240..e8fe86c 100644
--- a/content/browser/browser_message_filter.cc
+++ b/content/browser/browser_message_filter.cc
@@ -8,7 +8,7 @@
#include "base/process.h"
#include "base/process_util.h"
#include "content/browser/user_metrics.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "ipc/ipc_sync_message.h"
BrowserMessageFilter::BrowserMessageFilter()
diff --git a/content/browser/child_process_launcher.cc b/content/browser/child_process_launcher.cc
index 9020df7..ea65150 100644
--- a/content/browser/child_process_launcher.cc
+++ b/content/browser/child_process_launcher.cc
@@ -15,9 +15,9 @@
#include "content/browser/browser_thread.h"
#include "content/common/chrome_descriptors.h"
#include "content/common/process_watcher.h"
-#include "content/common/result_codes.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#if defined(OS_WIN)
#include "base/file_path.h"
diff --git a/content/browser/child_process_security_policy_browsertest.cc b/content/browser/child_process_security_policy_browsertest.cc
index 00af2e1..a70d1c6 100644
--- a/content/browser/child_process_security_policy_browsertest.cc
+++ b/content/browser/child_process_security_policy_browsertest.cc
@@ -13,7 +13,7 @@
#include "content/browser/child_process_security_policy.h"
#include "content/browser/renderer_host/render_process_host.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "testing/gtest/include/gtest/gtest.h"
class ChildProcessSecurityPolicyInProcessBrowserTest
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index b3e05a9..0d23a03 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -19,10 +19,10 @@
#include "content/browser/renderer_host/render_widget_host.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
#include "content/common/gpu/gpu_messages.h"
-#include "content/common/result_codes.h"
#include "content/gpu/gpu_child_thread.h"
#include "content/gpu/gpu_process.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "ipc/ipc_channel_handle.h"
#include "ipc/ipc_switches.h"
#include "ui/gfx/gl/gl_context.h"
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
index 85997b5..ce9211c 100644
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc
@@ -14,8 +14,8 @@
#include "content/browser/renderer_host/render_message_filter.h"
#include "content/browser/user_metrics.h"
#include "content/common/indexed_db_messages.h"
-#include "content/common/result_codes.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "googleurl/src/gurl.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h"
diff --git a/content/browser/renderer_host/browser_render_process_host.cc b/content/browser/renderer_host/browser_render_process_host.cc
index abcb84d..f9c79fc 100644
--- a/content/browser/renderer_host/browser_render_process_host.cc
+++ b/content/browser/renderer_host/browser_render_process_host.cc
@@ -75,10 +75,10 @@
#include "content/public/browser/notification_service.h"
#include "content/common/process_watcher.h"
#include "content/common/resource_messages.h"
-#include "content/common/result_codes.h"
#include "content/common/view_messages.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "content/renderer/render_process_impl.h"
#include "content/renderer/render_thread_impl.h"
#include "ipc/ipc_logging.h"
diff --git a/content/browser/renderer_host/database_message_filter.cc b/content/browser/renderer_host/database_message_filter.cc
index 09555e0..53c46dd 100644
--- a/content/browser/renderer_host/database_message_filter.cc
+++ b/content/browser/renderer_host/database_message_filter.cc
@@ -13,7 +13,7 @@
#include "base/utf_string_conversions.h"
#include "content/browser/user_metrics.h"
#include "content/common/database_messages.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
#include "googleurl/src/gurl.h"
#include "third_party/sqlite/sqlite3.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index c3b45f0..e150822 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -34,7 +34,6 @@
#include "content/common/desktop_notification_messages.h"
#include "content/common/drag_messages.h"
#include "content/public/browser/notification_service.h"
-#include "content/common/result_codes.h"
#include "content/common/speech_input_messages.h"
#include "content/common/swapped_out_messages.h"
#include "content/common/view_messages.h"
@@ -43,6 +42,7 @@
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_types.h"
#include "content/public/common/bindings_policy.h"
+#include "content/public/common/result_codes.h"
#include "content/public/common/url_constants.h"
#include "net/base/net_util.h"
#include "net/url_request/url_request_context_getter.h"
diff --git a/content/browser/renderer_host/render_widget_host.cc b/content/browser/renderer_host/render_widget_host.cc
index c826f07..d2ab843 100644
--- a/content/browser/renderer_host/render_widget_host.cc
+++ b/content/browser/renderer_host/render_widget_host.cc
@@ -22,11 +22,11 @@
#include "content/browser/user_metrics.h"
#include "content/common/gpu/gpu_messages.h"
#include "content/public/browser/notification_service.h"
-#include "content/common/result_codes.h"
#include "content/common/view_messages.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/browser/notification_types.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderline.h"
#include "ui/base/keycodes/keyboard_codes.h"
#include "webkit/glue/webcursor.h"
diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc
index b3893d1..87fc44c 100644
--- a/content/browser/worker_host/worker_process_host.cc
+++ b/content/browser/worker_host/worker_process_host.cc
@@ -33,11 +33,11 @@
#include "content/browser/worker_host/worker_message_filter.h"
#include "content/browser/worker_host/worker_service.h"
#include "content/common/debug_flags.h"
-#include "content/common/result_codes.h"
#include "content/common/view_messages.h"
#include "content/common/worker_messages.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "net/base/mime_util.h"
#include "ipc/ipc_switches.h"
#include "net/base/registry_controlled_domain.h"
diff --git a/content/browser/zygote_host_linux.cc b/content/browser/zygote_host_linux.cc
index 4963dd7..a0ca2fc 100644
--- a/content/browser/zygote_host_linux.cc
+++ b/content/browser/zygote_host_linux.cc
@@ -27,10 +27,10 @@
#include "base/utf_string_conversions.h"
#include "content/browser/renderer_host/render_sandbox_host_linux.h"
#include "content/common/process_watcher.h"
-#include "content/common/result_codes.h"
#include "content/common/unix_domain_socket_posix.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "sandbox/linux/suid/suid_unsafe_environment_variables.h"
#if defined(USE_TCMALLOC)
diff --git a/content/browser/zygote_main_linux.cc b/content/browser/zygote_main_linux.cc
index 10c4983..973eccb 100644
--- a/content/browser/zygote_main_linux.cc
+++ b/content/browser/zygote_main_linux.cc
@@ -33,13 +33,13 @@
#include "content/common/main_function_params.h"
#include "content/common/pepper_plugin_registry.h"
#include "content/common/process_watcher.h"
-#include "content/common/result_codes.h"
#include "content/common/sandbox_methods_linux.h"
#include "content/common/seccomp_sandbox.h"
#include "content/common/set_process_title.h"
#include "content/common/unix_domain_socket_posix.h"
#include "content/common/zygote_fork_delegate_linux.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "skia/ext/SkFontHost_fontconfig_control.h"
#include "unicode/timezone.h"
#include "ipc/ipc_channel.h"
diff --git a/content/common/handle_enumerator_win.cc b/content/common/handle_enumerator_win.cc
index e3985af..2c992e6 100644
--- a/content/common/handle_enumerator_win.cc
+++ b/content/common/handle_enumerator_win.cc
@@ -13,8 +13,8 @@
#include "base/process_util.h"
#include "base/utf_string_conversions.h"
#include "base/win/windows_version.h"
-#include "content/common/result_codes.h"
#include "content/public/common/content_switches.h"
+#include "content/public/common/result_codes.h"
#include "sandbox/src/handle_table.h"
namespace {
diff --git a/content/common/process_watcher_win.cc b/content/common/process_watcher_win.cc
index e687a69..e37dd69 100644
--- a/content/common/process_watcher_win.cc
+++ b/content/common/process_watcher_win.cc
@@ -6,8 +6,9 @@
#include "base/memory/scoped_ptr.h"
#include "base/message_loop.h"
+#include "base/process_util.h"
#include "base/win/object_watcher.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
// Maximum amount of time (in milliseconds) to wait for the process to exit.
static const int kWaitInterval = 2000;
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 6777d30..4d1eced 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -43,6 +43,7 @@
'public/common/pepper_plugin_info.cc',
'public/common/pepper_plugin_info.h',
'public/common/resource_dispatcher_delegate.h',
+ 'public/common/result_codes.h',
'public/common/security_style.h',
'public/common/serialized_script_value.cc',
'public/common/serialized_script_value.h',
diff --git a/content/gpu/gpu_watchdog_thread.cc b/content/gpu/gpu_watchdog_thread.cc
index 4e2f7fb..8e8285b 100644
--- a/content/gpu/gpu_watchdog_thread.cc
+++ b/content/gpu/gpu_watchdog_thread.cc
@@ -12,7 +12,7 @@
#include "base/process_util.h"
#include "base/process.h"
#include "build/build_config.h"
-#include "content/common/result_codes.h"
+#include "content/public/common/result_codes.h"
namespace {
const int64 kCheckPeriod = 2000;
diff --git a/content/common/result_codes.h b/content/public/common/result_codes.h
index edfb8b6..ccd722e 100644
--- a/content/common/result_codes.h
+++ b/content/public/common/result_codes.h
@@ -2,12 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_RESULT_CODES_H_
-#define CONTENT_COMMON_RESULT_CODES_H_
+#ifndef CONTENT_PUBLIC_COMMON_RESULT_CODES_H_
+#define CONTENT_PUBLIC_COMMON_RESULT_CODES_H_
#pragma once
-#include "base/process_util.h"
-
// This file consolidates all the return codes for the browser and renderer
// process. The return code is the value that:
// a) is returned by main() or winmain(), or
@@ -39,4 +37,4 @@ enum ResultCode {
} // namespace content
-#endif // CONTENT_COMMON_RESULT_CODES_H_
+#endif // CONTENT_PUBLIC_COMMON_RESULT_CODES_H_