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

Side by Side Diff: chrome/browser/ui/webui/signin_internals_ui.h

Issue 602773002: Handle multiple signin_internal_uis by using a linked_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_UI_WEBUI_SIGNIN_INTERNALS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 13 matching lines...) Expand all
24 virtual bool OverrideHandleWebUIMessage(const GURL& source_url, 24 virtual bool OverrideHandleWebUIMessage(const GURL& source_url,
25 const std::string& name, 25 const std::string& name,
26 const base::ListValue& args) OVERRIDE; 26 const base::ListValue& args) OVERRIDE;
27 27
28 // AboutSigninInternals::Observer::OnSigninStateChanged implementation. 28 // AboutSigninInternals::Observer::OnSigninStateChanged implementation.
29 virtual void OnSigninStateChanged( 29 virtual void OnSigninStateChanged(
30 scoped_ptr<base::DictionaryValue> info) OVERRIDE; 30 scoped_ptr<base::DictionaryValue> info) OVERRIDE;
31 31
32 // Notification that the cookie accounts are ready to be displayed. 32 // Notification that the cookie accounts are ready to be displayed.
33 virtual void OnCookieAccountsFetched( 33 virtual void OnCookieAccountsFetched(
34 scoped_ptr<base::DictionaryValue> info) OVERRIDE; 34 linked_ptr<base::DictionaryValue> info) OVERRIDE;
Roger Tawa OOO till Jul 10th 2014/09/25 01:14:05 Would be better to change this function and the on
Mike Lerman 2014/09/25 17:28:34 Done.
35 35
36 private: 36 private:
37 DISALLOW_COPY_AND_ASSIGN(SignInInternalsUI); 37 DISALLOW_COPY_AND_ASSIGN(SignInInternalsUI);
38 }; 38 };
39 39
40 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_ 40 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_INTERNALS_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698