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

Side by Side Diff: chrome/common/net/notifier/communicator/login_settings.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 <string> 5 #include <string>
6 6
7 #include "chrome/browser/sync/notifier/communicator/login_settings.h" 7 #include "chrome/common/net/notifier/communicator/login_settings.h"
8 8
9 #include "chrome/browser/sync/notifier/communicator/connection_options.h" 9 #include "chrome/common/net/notifier/communicator/connection_options.h"
10 #include "chrome/browser/sync/notifier/communicator/xmpp_connection_generator.h" 10 #include "chrome/common/net/notifier/communicator/xmpp_connection_generator.h"
11 #include "talk/base/common.h" 11 #include "talk/base/common.h"
12 #include "talk/base/socketaddress.h" 12 #include "talk/base/socketaddress.h"
13 #include "talk/xmpp/xmppclientsettings.h" 13 #include "talk/xmpp/xmppclientsettings.h"
14 14
15 namespace notifier { 15 namespace notifier {
16 16
17 LoginSettings::LoginSettings(const buzz::XmppClientSettings& user_settings, 17 LoginSettings::LoginSettings(const buzz::XmppClientSettings& user_settings,
18 const ConnectionOptions& options, 18 const ConnectionOptions& options,
19 std::string lang, 19 std::string lang,
20 ServerInformation* server_list, 20 ServerInformation* server_list,
(...skipping 25 matching lines...) Expand all
46 server_override_.reset(new ServerInformation()); 46 server_override_.reset(new ServerInformation());
47 server_override_->server = server; 47 server_override_->server = server;
48 server_override_->special_port_magic = server_list_[0].special_port_magic; 48 server_override_->special_port_magic = server_list_[0].special_port_magic;
49 } 49 }
50 50
51 void LoginSettings::clear_server_override() { 51 void LoginSettings::clear_server_override() {
52 server_override_.reset(); 52 server_override_.reset();
53 } 53 }
54 54
55 } // namespace notifier 55 } // namespace notifier
OLDNEW
« no previous file with comments | « chrome/common/net/notifier/communicator/login_settings.h ('k') | chrome/common/net/notifier/communicator/mailbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698