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

Unified Diff: cloud_print/service/win/setup_listener.cc

Issue 13800005: Fixed typos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « cloud_print/service/win/setup_listener.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cloud_print/service/win/setup_listener.cc
diff --git a/cloud_print/service/win/setup_listener.cc b/cloud_print/service/win/setup_listener.cc
index 3bd4b73f5e93da1eaafce4356fd9aafe76850075..ab686b442226aaf0827d1dd1ec6fd9db77dd7370 100644
--- a/cloud_print/service/win/setup_listener.cc
+++ b/cloud_print/service/win/setup_listener.cc
@@ -17,7 +17,7 @@
#include "base/values.h"
#include "ipc/ipc_channel.h"
-const char SetupListener::kXpsAvailibleJsonValueName[] = "xps_availible";
+const char SetupListener::kXpsAvailableJsonValueName[] = "xps_available";
const char SetupListener::kChromePathJsonValueName[] = "chrome_path";
const char SetupListener::kPrintersJsonValueName[] = "printers";
const char SetupListener::kUserDataDirJsonValueName[] = "user_data_dir";
@@ -29,7 +29,7 @@ SetupListener::SetupListener(const string16& user)
: done_event_(new base::WaitableEvent(true, false)),
ipc_thread_(new base::Thread("ipc_thread")),
succeded_(false),
- is_xps_availible_(false) {
+ is_xps_available_(false) {
ipc_thread_->StartWithOptions(base::Thread::Options(MessageLoop::TYPE_IO, 0));
ipc_thread_->message_loop()->PostTask(FROM_HERE,
base::Bind(&SetupListener::Connect,
@@ -64,7 +64,7 @@ bool SetupListener::OnMessageReceived(const IPC::Message& msg) {
printers_.push_back(printer);
}
}
- dictionary->GetBoolean(kXpsAvailibleJsonValueName, &is_xps_availible_);
+ dictionary->GetBoolean(kXpsAvailableJsonValueName, &is_xps_available_);
dictionary->GetString(kUserNameJsonValueName, &user_name_);
string16 chrome_path;
« no previous file with comments | « cloud_print/service/win/setup_listener.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698