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

Side by Side Diff: chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.cc

Issue 2617543002: Create Desktop to iOS Promotion skeleton. (Closed)
Patch Set: add cocoa modifications Created 3 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/ui/desktop_ios_promotion/desktop_ios_promotion_util.h"
6 #include "chrome/grit/generated_resources.h"
7
8 namespace desktop_ios_promotion {
9
10 bool IsEligibleForIOSPromotion() {
11 return false;
12 }
13
14 base::string16 GetPromoBubbleText(
15 desktop_ios_promotion::PromotionEntryPoint entry_point) {
16 if (entry_point ==
17 desktop_ios_promotion::PromotionEntryPoint::SAVE_PASSWORD_BUBBLE) {
18 return l10n_util::GetStringUTF16(
19 IDS_PASSWORD_MANAGER_DESKTOP_TO_IOS_PROMO_TEXT);
20 }
21 return base::string16();
22 }
23
24 } // namespace desktop_ios_promotion
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698