OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:theme_specifics
(Results
1 - 6
of
6
) sorted by null
/external/chromium/chrome/browser/sync/glue/
theme_util_unittest.cc
10
#include "chrome/browser/sync/protocol/
theme_specifics
.pb.h"
102
sync_pb::ThemeSpecifics
theme_specifics
;
local
110
SetCurrentThemeFromThemeSpecifics(
theme_specifics
, &profile);
114
sync_pb::ThemeSpecifics
theme_specifics
;
local
115
theme_specifics
.set_use_system_theme_by_default(true);
124
SetCurrentThemeFromThemeSpecifics(
theme_specifics
, &profile);
132
sync_pb::ThemeSpecifics
theme_specifics
;
local
133
theme_specifics
.set_use_custom_theme(true);
134
theme_specifics
.set_use_system_theme_by_default(true);
135
theme_specifics
.set_custom_theme_name("name")
152
sync_pb::ThemeSpecifics
theme_specifics
;
local
180
sync_pb::ThemeSpecifics
theme_specifics
;
local
199
sync_pb::ThemeSpecifics
theme_specifics
;
local
228
sync_pb::ThemeSpecifics
theme_specifics
;
local
[
all
...]
theme_util.h
33
const sync_pb::ThemeSpecifics&
theme_specifics
,
40
sync_pb::ThemeSpecifics*
theme_specifics
);
47
sync_pb::ThemeSpecifics*
theme_specifics
);
50
// current theme is equivalent to that described by
theme_specifics
.
52
const sync_pb::ThemeSpecifics&
theme_specifics
, Profile* profile);
55
// |
theme_specifics
| uses the default theme and |profile| does not, the local
56
// data "wins" against the server's and |
theme_specifics
| is updated with the
57
// custom theme. Returns true iff |
theme_specifics
| is updated.
59
Profile* profile, sync_pb::ThemeSpecifics*
theme_specifics
);
theme_util.cc
18
#include "chrome/browser/sync/protocol/
theme_specifics
.pb.h"
87
const sync_pb::ThemeSpecifics&
theme_specifics
,
90
if (
theme_specifics
.use_custom_theme()) {
93
std::string id(
theme_specifics
.custom_theme_id());
94
GURL update_url(
theme_specifics
.custom_theme_update_url());
142
} else if (
theme_specifics
.use_system_theme_by_default()) {
150
Profile* profile, sync_pb::ThemeSpecifics*
theme_specifics
) {
151
if (!
theme_specifics
->use_custom_theme() &&
155
GetThemeSpecificsFromCurrentTheme(profile,
theme_specifics
);
158
SetCurrentThemeFromThemeSpecificsIfNecessary(*
theme_specifics
, profile)
[
all
...]
theme_model_associator.cc
14
#include "chrome/browser/sync/protocol/
theme_specifics
.pb.h"
55
sync_pb::ThemeSpecifics
theme_specifics
= node.GetThemeSpecifics();
local
57
&
theme_specifics
))
58
node.SetThemeSpecifics(
theme_specifics
);
69
sync_pb::ThemeSpecifics
theme_specifics
;
local
70
GetThemeSpecificsFromCurrentTheme(profile, &
theme_specifics
);
71
node.SetThemeSpecifics(
theme_specifics
);
theme_change_processor.cc
11
#include "chrome/browser/sync/protocol/
theme_specifics
.pb.h"
89
sync_pb::ThemeSpecifics
theme_specifics
;
local
101
theme_specifics
= node.GetThemeSpecifics();
104
SetCurrentThemeFromThemeSpecificsIfNecessary(
theme_specifics
, profile_);
/external/chromium/chrome/browser/sync/protocol/
proto_value_conversions.h
106
const sync_pb::ThemeSpecifics&
theme_specifics
);
Completed in 172 milliseconds