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

Side by Side Diff: chrome/browser/local_discovery/privetv3_session.h

Issue 878463002: Fixed Privet v3 auth header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@patches
Patch Set: Mon 01/26/2015 12:51:10.46 Created 5 years, 11 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SESSION_H_ 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SESSION_H_
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SESSION_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SESSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 const base::DictionaryValue& input, 53 const base::DictionaryValue& input,
54 const MessageCallback& callback); 54 const MessageCallback& callback);
55 55
56 private: 56 private:
57 void RunCallback(const base::Closure& callback); 57 void RunCallback(const base::Closure& callback);
58 void DeleteFetcher(const FetcherDelegate* fetcher); 58 void DeleteFetcher(const FetcherDelegate* fetcher);
59 59
60 scoped_ptr<PrivetHTTPClient> client_; 60 scoped_ptr<PrivetHTTPClient> client_;
61 bool code_confirmed_; 61 bool code_confirmed_;
62 ScopedVector<FetcherDelegate> fetchers_; 62 ScopedVector<FetcherDelegate> fetchers_;
63 std::string privet_auth_token_;
64
63 base::WeakPtrFactory<PrivetV3Session> weak_ptr_factory_; 65 base::WeakPtrFactory<PrivetV3Session> weak_ptr_factory_;
64 DISALLOW_COPY_AND_ASSIGN(PrivetV3Session); 66 DISALLOW_COPY_AND_ASSIGN(PrivetV3Session);
65 }; 67 };
66 68
67 } // namespace local_discovery 69 } // namespace local_discovery
68 70
69 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SESSION_H_ 71 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_PRIVETV3_SESSION_H_
OLDNEW
« no previous file with comments | « chrome/browser/local_discovery/privet_url_fetcher_unittest.cc ('k') | chrome/browser/local_discovery/privetv3_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698