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

Side by Side Diff: chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_api.cc

Issue 884783004: [Smart Lock] Fix a failing DCHECK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_ api.h" 5 #include "chrome/browser/extensions/api/easy_unlock_private/easy_unlock_private_ api.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Common strings. 125 // Common strings.
126 strings->SetString( 126 strings->SetString(
127 "learnMoreLinkTitle", 127 "learnMoreLinkTitle",
128 l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_LEARN_MORE_LINK_TITLE)); 128 l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_LEARN_MORE_LINK_TITLE));
129 strings->SetString("deviceType", device_type); 129 strings->SetString("deviceType", device_type);
130 130
131 // Setup notification strings. 131 // Setup notification strings.
132 strings->SetString( 132 strings->SetString(
133 "setupNotificationTitle", 133 "setupNotificationTitle",
134 l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_TITLE, 134 l10n_util::GetStringUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_TITLE));
135 device_type));
136 strings->SetString( 135 strings->SetString(
137 "setupNotificationMessage", 136 "setupNotificationMessage",
138 l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_MESSAGE, 137 l10n_util::GetStringFUTF16(IDS_EASY_UNLOCK_SETUP_NOTIFICATION_MESSAGE,
139 device_type)); 138 device_type));
140 strings->SetString( 139 strings->SetString(
141 "setupNotificationButtonTitle", 140 "setupNotificationButtonTitle",
142 l10n_util::GetStringUTF16( 141 l10n_util::GetStringUTF16(
143 IDS_EASY_UNLOCK_SETUP_NOTIFICATION_BUTTON_TITLE)); 142 IDS_EASY_UNLOCK_SETUP_NOTIFICATION_BUTTON_TITLE));
144 143
145 // Chromebook added to Easy Unlock notification strings. 144 // Chromebook added to Easy Unlock notification strings.
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after
793 gfx::Range(params->link_range.start, params->link_range.end), 792 gfx::Range(params->link_range.start, params->link_range.end),
794 GURL(params->link_target), anchor_rect, web_contents); 793 GURL(params->link_target), anchor_rect, web_contents);
795 #else 794 #else
796 SetError("Not supported on non-Views platforms."); 795 SetError("Not supported on non-Views platforms.");
797 #endif 796 #endif
798 return true; 797 return true;
799 } 798 }
800 799
801 } // namespace api 800 } // namespace api
802 } // namespace extensions 801 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698