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

Side by Side Diff: jingle/notifier/communicator/login_failure.cc

Issue 2885005: Move chrome/common/net/notifier to jingle/notifier so that it can be used by remoting/remoting.gyp. (Closed) Base URL: git://codf21.jail.google.com/chromium.git
Patch Set: rebased Created 10 years, 5 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
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/common/net/notifier/communicator/login_failure.h" 5 #include "jingle/notifier/communicator/login_failure.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace notifier { 9 namespace notifier {
10 10
11 LoginFailure::LoginFailure(LoginError error) 11 LoginFailure::LoginFailure(LoginError error)
12 : error_(error), 12 : error_(error),
13 xmpp_error_(buzz::XmppEngine::ERROR_NONE), 13 xmpp_error_(buzz::XmppEngine::ERROR_NONE),
14 subcode_(0) { 14 subcode_(0) {
15 } 15 }
16 16
17 LoginFailure::LoginFailure(LoginError error, 17 LoginFailure::LoginFailure(LoginError error,
18 buzz::XmppEngine::Error xmpp_error, 18 buzz::XmppEngine::Error xmpp_error,
19 int subcode) 19 int subcode)
20 : error_(error), 20 : error_(error),
21 xmpp_error_(xmpp_error), 21 xmpp_error_(xmpp_error),
22 subcode_(subcode) { 22 subcode_(subcode) {
23 } 23 }
24 24
25 buzz::XmppEngine::Error LoginFailure::xmpp_error() const { 25 buzz::XmppEngine::Error LoginFailure::xmpp_error() const {
26 DCHECK_EQ(error_, XMPP_ERROR); 26 DCHECK_EQ(error_, XMPP_ERROR);
27 return xmpp_error_; 27 return xmpp_error_;
28 } 28 }
29 29
30 } // namespace notifier 30 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/communicator/login_failure.h ('k') | jingle/notifier/communicator/login_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698