summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 21:01:06 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 21:01:06 +0000
commit035119bd22f67b6472f96752e8bf9ab5712cf8bb (patch)
tree455812a6603534dbc5874277060cde3e6611b34d
parente7d15770800da4b95deb591f0ff8a83e11db4b74 (diff)
downloadchromium_src-035119bd22f67b6472f96752e8bf9ab5712cf8bb.zip
chromium_src-035119bd22f67b6472f96752e8bf9ab5712cf8bb.tar.gz
chromium_src-035119bd22f67b6472f96752e8bf9ab5712cf8bb.tar.bz2
Make character_encoding.cc compile on Mac and Linux.
Review URL: http://codereview.chromium.org/21220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9513 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/browser.scons1
-rw-r--r--chrome/browser/character_encoding.cc3
-rw-r--r--chrome/chrome.xcodeproj/project.pbxproj2
3 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser.scons b/chrome/browser/browser.scons
index 59bc336..f45d593 100644
--- a/chrome/browser/browser.scons
+++ b/chrome/browser/browser.scons
@@ -679,7 +679,6 @@ if not env.Bit('windows'):
'browser_shutdown.cc',
'browser_url_handler.cc',
'browsing_data_remover.cc',
- 'character_encoding.cc',
'chrome_plugin_host.cc',
'dock_info.cc',
'dom_ui/dom_ui_contents.cc',
diff --git a/chrome/browser/character_encoding.cc b/chrome/browser/character_encoding.cc
index 7144ca0..afcbbcd 100644
--- a/chrome/browser/character_encoding.cc
+++ b/chrome/browser/character_encoding.cc
@@ -20,7 +20,7 @@
namespace {
// The maximum length of short list of recently user selected encodings is 3.
-const int kUserSelectedEncodingsMaxLength = 3;
+const size_t kUserSelectedEncodingsMaxLength = 3;
typedef struct {
int resource_id;
@@ -431,4 +431,3 @@ bool CharacterEncoding::UpdateRecentlySelectdEncoding(
}
return true;
}
-
diff --git a/chrome/chrome.xcodeproj/project.pbxproj b/chrome/chrome.xcodeproj/project.pbxproj
index c1eeab9..2423445 100644
--- a/chrome/chrome.xcodeproj/project.pbxproj
+++ b/chrome/chrome.xcodeproj/project.pbxproj
@@ -236,6 +236,7 @@
534E66C40F311BEC0006B2B2 /* temp_scaffolding_stubs.cc in Sources */ = {isa = PBXBuildFile; fileRef = 534E66C30F311BEC0006B2B2 /* temp_scaffolding_stubs.cc */; };
544FBC49CB83E458B6B7069D /* test_web_contents.cc in Sources */ = {isa = PBXBuildFile; fileRef = 56E1D7DF17D327BFCB0B895D /* test_web_contents.cc */; };
671555F7DF06E224B646E5D2 /* backing_store_posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = B94B5B0CBF4D7FAC48BB1AE2 /* backing_store_posix.cc */; };
+ 6A3646C882BD4CC722624544 /* character_encoding.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8590E9D4839009A6919 /* character_encoding.cc */; };
6D62D71064BA3204EF0A964A /* autofill_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 629BF493DEA096E2DD844F2B /* autofill_manager.cc */; };
8268477E0F2F69C8009F6555 /* profile_manager_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E60E9D4839009A6919 /* profile_manager_unittest.cc */; };
8268477F0F2F69D1009F6555 /* profile_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E40E9D4839009A6919 /* profile_manager.cc */; };
@@ -5149,6 +5150,7 @@
475CAF858604B413561740C1 /* cache_manager_host.cc in Sources */,
4D7BF98D0E9D485B009A6919 /* cancelable_request.cc in Sources */,
E765478D55A73228BAD044E3 /* cert_store.cc in Sources */,
+ 6A3646C882BD4CC722624544 /* character_encoding.cc in Sources */,
E43A770D0F16610300ABD5D1 /* chrome_plugin_browsing_context.cc in Sources */,
4D7BF9920E9D485F009A6919 /* chrome_thread.cc in Sources */,
E43A771C0F1661AF00ABD5D1 /* chrome_url_data_manager.cc in Sources */,