OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:AppsPromo
(Results
1 - 8
of
8
) sorted by null
/external/chromium/chrome/browser/extensions/
apps_promo_unittest.cc
30
AppsPromo
* apps_promo() { return apps_promo_; }
43
AppsPromo
* apps_promo_;
47
apps_promo_(new
AppsPromo
(&prefs_)) {
79
EXPECT_EQ(
AppsPromo
::kDefaultAppsCounterMax + 1,
86
EXPECT_FALSE(
AppsPromo
::IsPromoSupportedForLocale());
93
AppsPromo
::SetPromo(
96
EXPECT_TRUE(
AppsPromo
::IsPromoSupportedForLocale());
105
EXPECT_TRUE(
AppsPromo
::IsPromoSupportedForLocale());
114
EXPECT_TRUE(
AppsPromo
::IsPromoSupportedForLocale());
123
EXPECT_TRUE(
AppsPromo
::IsPromoSupportedForLocale())
[
all
...]
apps_promo.cc
16
const int
AppsPromo
::kDefaultAppsCounterMax = 10;
19
void
AppsPromo
::RegisterPrefs(PrefService* local_state) {
29
void
AppsPromo
::RegisterUserPrefs(PrefService* prefs) {
39
void
AppsPromo
::ClearPromo() {
49
std::string
AppsPromo
::GetPromoButtonText() {
55
std::string
AppsPromo
::GetPromoId() {
61
std::string
AppsPromo
::GetPromoHeaderText() {
67
GURL
AppsPromo
::GetPromoLink() {
73
std::string
AppsPromo
::GetPromoExpireText() {
79
void
AppsPromo
::SetPromo(const std::string& id
[
all
...]
apps_promo.h
20
class
AppsPromo
{
52
explicit
AppsPromo
(PrefService* prefs);
53
~
AppsPromo
();
63
// installed,
AppsPromo
will no longer consider the apps "default".
110
DISALLOW_COPY_AND_ASSIGN(
AppsPromo
);
extension_service.h
189
AppsPromo
* apps_promo() { return &apps_promo_; }
618
AppsPromo
apps_promo_;
/external/chromium/chrome/browser/web_resource/
promo_resource_service_unittest.cc
226
EXPECT_EQ("341252",
AppsPromo
::GetPromoId());
227
EXPECT_EQ("The header!",
AppsPromo
::GetPromoHeaderText());
228
EXPECT_EQ("The button label!",
AppsPromo
::GetPromoButtonText());
229
EXPECT_EQ(GURL("http://link.com"),
AppsPromo
::GetPromoLink());
230
EXPECT_EQ("No thanks, hide this.",
AppsPromo
::GetPromoExpireText());
promo_resource_service.cc
161
AppsPromo
::ClearPromo();
327
AppsPromo
::SetPromo(
336
AppsPromo
::ClearPromo();
/external/chromium/chrome/browser/prefs/
browser_prefs.cc
85
AppsPromo
::RegisterPrefs(local_state);
123
AppsPromo
::RegisterUserPrefs(user_prefs);
/external/chromium/chrome/browser/ui/webui/
app_launcher_handler.cc
261
dictionary->SetString("promoHeader",
AppsPromo
::GetPromoHeaderText());
262
dictionary->SetString("promoButton",
AppsPromo
::GetPromoButtonText());
263
dictionary->SetString("promoLink",
AppsPromo
::GetPromoLink().spec());
264
dictionary->SetString("promoExpire",
AppsPromo
::GetPromoExpireText());
278
AppsPromo
* apps_promo = extensions_service_->apps_promo();
640
AppsPromo
* apps_promo = extensions_service_->apps_promo();
Completed in 148 milliseconds