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

Side by Side Diff: chrome/browser/sync/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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/browser/sync/notifier/communicator/login_failure.h"
6
7 namespace notifier {
8
9 LoginFailure::LoginFailure(LoginError error)
10 : error_(error),
11 xmpp_error_(buzz::XmppEngine::ERROR_NONE),
12 subcode_(0) {
13 }
14
15 LoginFailure::LoginFailure(LoginError error,
16 buzz::XmppEngine::Error xmpp_error,
17 int subcode)
18 : error_(error),
19 xmpp_error_(xmpp_error),
20 subcode_(subcode) {
21 }
22
23 buzz::XmppEngine::Error LoginFailure::xmpp_error() const {
24 ASSERT(error_ == XMPP_ERROR);
25 return xmpp_error_;
26 }
27
28 } // namespace notifier
OLDNEW
« no previous file with comments | « chrome/browser/sync/notifier/communicator/login_failure.h ('k') | chrome/browser/sync/notifier/communicator/login_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698