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

Unified Diff: chrome/browser/chooser_controller/chooser_controller.h

Issue 2122073004: Display extension name on device chooser title (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_chooser_controller_to_chrome_browser
Patch Set: removed unused variable Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chooser_controller/chooser_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chooser_controller/chooser_controller.h
diff --git a/chrome/browser/chooser_controller/chooser_controller.h b/chrome/browser/chooser_controller/chooser_controller.h
index 275f02431810e363f886b54a0fced92cc7ae5263..161cddd53692bdbe939622a61bb347468409ffff 100644
--- a/chrome/browser/chooser_controller/chooser_controller.h
+++ b/chrome/browser/chooser_controller/chooser_controller.h
@@ -12,10 +12,6 @@ namespace content {
class RenderFrameHost;
}
-namespace url {
-class Origin;
-}
-
// Subclass ChooserController to implement a chooser, which has some
// introductory text and a list of options that users can pick one of.
// Your subclass must define the set of options users can pick from;
@@ -52,8 +48,8 @@ class ChooserController {
virtual ~Observer() {}
};
- // Return the origin URL to be displayed on the chooser title.
- url::Origin GetOrigin() const;
+ // Returns the text to be displayed in the chooser title.
+ base::string16 GetTitle() const;
// The number of options users can pick from. For example, it can be
// the number of USB/Bluetooth device names which are listed in the
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chooser_controller/chooser_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698