diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 02:45:23 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 02:45:23 +0000 |
commit | 671b7ab28cfac6fb097bf3486ef8ad9774ab1423 (patch) | |
tree | 8e48e7fcd80145ed974479bca8a1c33da2f4eeb5 /chrome/browser/extensions/extension_idle_api.cc | |
parent | 59fffe5ef6ecaa291f574916f07e412fa90b027b (diff) | |
download | chromium_src-671b7ab28cfac6fb097bf3486ef8ad9774ab1423.zip chromium_src-671b7ab28cfac6fb097bf3486ef8ad9774ab1423.tar.gz chromium_src-671b7ab28cfac6fb097bf3486ef8ad9774ab1423.tar.bz2 |
Convert wide strings in extension_idle_api_constants and extension_infobar_module_constants.
BUG=23581
TEST=builds and passes tests
Review URL: http://codereview.chromium.org/3160011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55979 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_idle_api.cc')
-rw-r--r-- | chrome/browser/extensions/extension_idle_api.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_idle_api.cc b/chrome/browser/extensions/extension_idle_api.cc index 0a6a25f..104cc8b 100644 --- a/chrome/browser/extensions/extension_idle_api.cc +++ b/chrome/browser/extensions/extension_idle_api.cc @@ -42,7 +42,7 @@ struct ExtensionIdlePollingData { static ExtensionIdlePollingData polling_data; // Forward declaration of utility methods. -static const wchar_t* IdleStateToDescription(IdleState state); +static const char* IdleStateToDescription(IdleState state); static StringValue* CreateIdleValue(IdleState idle_state); static int CheckThresholdBounds(int timeout); static IdleState CalculateIdleStateAndUpdateTimestamp(int threshold); @@ -64,7 +64,7 @@ class ExtensionIdlePollingTask : public Task { DISALLOW_COPY_AND_ASSIGN(ExtensionIdlePollingTask); }; -const wchar_t* IdleStateToDescription(IdleState state) { +const char* IdleStateToDescription(IdleState state) { if (IDLE_STATE_ACTIVE == state) return keys::kStateActive; if (IDLE_STATE_IDLE == state) |