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

Unified Diff: chrome/browser/ui/app_list/search/webstore_installer.cc

Issue 23874015: Implement people search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
Index: chrome/browser/ui/app_list/search/webstore_installer.cc
diff --git a/chrome/browser/ui/app_list/search/webstore_installer.cc b/chrome/browser/ui/app_list/search/webstore_installer.cc
deleted file mode 100644
index 58c1ebb555b813d3683e5075bfd101644c59250a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/app_list/search/webstore_installer.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/ui/app_list/search/webstore_installer.h"
-
-#include "chrome/browser/extensions/extension_install_prompt.h"
-#include "chrome/browser/ui/browser_finder.h"
-
-namespace app_list {
-
-WebstoreInstaller::WebstoreInstaller(const std::string& webstore_item_id,
- Profile* profile,
- gfx::NativeWindow parent_window,
- const Callback& callback)
- : WebstoreStartupInstaller(webstore_item_id, profile, true, callback),
- profile_(profile),
- parent_window_(parent_window) {}
-
-WebstoreInstaller::~WebstoreInstaller() {}
-
-scoped_ptr<ExtensionInstallPrompt> WebstoreInstaller::CreateInstallUI() {
- return make_scoped_ptr(
- new ExtensionInstallPrompt(profile_, parent_window_, this));
-}
-
-content::WebContents* WebstoreInstaller::OpenURL(
- const content::OpenURLParams& params) {
- Browser* browser = chrome::FindOrCreateTabbedBrowser(
- profile_, chrome::GetActiveDesktop());
- return browser->OpenURL(params);
-}
-
-} // namespace app_list

Powered by Google App Engine
This is Rietveld 408576698