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

Side by Side Diff: chrome/common/net/notifier/communicator/login_failure.cc

Issue 1956001: Moved XMPP notifier library from chrome/browser/sync to chrome/common.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/notifier/communicator/login_failure.h" 5 #include "chrome/common/net/notifier/communicator/login_failure.h"
6 6
7 namespace notifier { 7 namespace notifier {
8 8
9 LoginFailure::LoginFailure(LoginError error) 9 LoginFailure::LoginFailure(LoginError error)
10 : error_(error), 10 : error_(error),
11 xmpp_error_(buzz::XmppEngine::ERROR_NONE), 11 xmpp_error_(buzz::XmppEngine::ERROR_NONE),
12 subcode_(0) { 12 subcode_(0) {
13 } 13 }
14 14
15 LoginFailure::LoginFailure(LoginError error, 15 LoginFailure::LoginFailure(LoginError error,
16 buzz::XmppEngine::Error xmpp_error, 16 buzz::XmppEngine::Error xmpp_error,
17 int subcode) 17 int subcode)
18 : error_(error), 18 : error_(error),
19 xmpp_error_(xmpp_error), 19 xmpp_error_(xmpp_error),
20 subcode_(subcode) { 20 subcode_(subcode) {
21 } 21 }
22 22
23 buzz::XmppEngine::Error LoginFailure::xmpp_error() const { 23 buzz::XmppEngine::Error LoginFailure::xmpp_error() const {
24 ASSERT(error_ == XMPP_ERROR); 24 ASSERT(error_ == XMPP_ERROR);
25 return xmpp_error_; 25 return xmpp_error_;
26 } 26 }
27 27
28 } // namespace notifier 28 } // namespace notifier
OLDNEW
« no previous file with comments | « chrome/common/net/notifier/communicator/login_failure.h ('k') | chrome/common/net/notifier/communicator/login_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698