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

Side by Side Diff: chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h

Issue 2211613002: Add AssignmentSource to BlimpClientContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge origin/master Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
6 #define CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ 6 #define CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "blimp/client/public/blimp_client_context_delegate.h" 9 #include "blimp/client/public/blimp_client_context_delegate.h"
10 10
(...skipping 13 matching lines...) Expand all
24 public: 24 public:
25 // Constructs the object and attaches it to the BlimpClientContext that is 25 // Constructs the object and attaches it to the BlimpClientContext that is
26 // used for the given profile. 26 // used for the given profile.
27 explicit ChromeBlimpClientContextDelegate(Profile* profile); 27 explicit ChromeBlimpClientContextDelegate(Profile* profile);
28 // Unattaches itself from the BlimpClientContext before going away. 28 // Unattaches itself from the BlimpClientContext before going away.
29 ~ChromeBlimpClientContextDelegate() override; 29 ~ChromeBlimpClientContextDelegate() override;
30 30
31 // BlimpClientContextDelegate implementation. 31 // BlimpClientContextDelegate implementation.
32 void AttachBlimpContentsHelpers( 32 void AttachBlimpContentsHelpers(
33 blimp::client::BlimpContents* blimp_contents) override; 33 blimp::client::BlimpContents* blimp_contents) override;
34 void OnAssignmentConnectionAttempted(
35 blimp::client::AssignmentRequestResult result,
36 const blimp::client::Assignment& assignment) override;
34 37
35 private: 38 private:
36 // The profile this delegate is used for. 39 // The profile this delegate is used for.
37 Profile* profile_; 40 Profile* profile_;
38 41
39 // The BlimpClientContext this is the delegate for. 42 // The BlimpClientContext this is the delegate for.
40 blimp::client::BlimpClientContext* blimp_client_context_; 43 blimp::client::BlimpClientContext* blimp_client_context_;
41 44
42 DISALLOW_COPY_AND_ASSIGN(ChromeBlimpClientContextDelegate); 45 DISALLOW_COPY_AND_ASSIGN(ChromeBlimpClientContextDelegate);
43 }; 46 };
44 47
45 #endif // CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ 48 #endif // CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698