Searched defs:theme_specifics (Results 1 - 6 of 6) sorted by relevance
/external/chromium/chrome/browser/sync/glue/ |
H A D | 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);
|
H A D | 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 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...] |
H A D | 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_);
|
H A D | 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, profil 86 SetCurrentThemeFromThemeSpecifics( const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) argument 149 UpdateThemeSpecificsOrSetCurrentThemeIfNecessary( Profile* profile, sync_pb::ThemeSpecifics* theme_specifics) argument 163 GetThemeSpecificsFromCurrentTheme( Profile* profile, sync_pb::ThemeSpecifics* theme_specifics) argument 179 GetThemeSpecificsFromCurrentThemeHelper( const Extension* current_theme, bool is_system_theme_distinct_from_default_theme, bool use_system_theme_by_default, sync_pb::ThemeSpecifics* theme_specifics) argument 207 SetCurrentThemeFromThemeSpecificsIfNecessary( const sync_pb::ThemeSpecifics& theme_specifics, Profile* profile) argument [all...] |
/external/chromium_org/chrome/browser/themes/ |
H A D | theme_syncable_service.cc | 16 #include "sync/protocol/theme_specifics.pb.h" 204 const sync_pb::ThemeSpecifics& theme_specifics) { 205 if (theme_specifics.use_custom_theme()) { 208 string id(theme_specifics.custom_theme_id()); 209 GURL update_url(theme_specifics.custom_theme_update_url()); 240 } else if (theme_specifics.use_system_theme_by_default()) { 250 sync_pb::ThemeSpecifics* theme_specifics) const { 262 theme_specifics->set_use_custom_theme(use_custom_theme); 268 theme_specifics->set_use_system_theme_by_default(true); 270 theme_specifics 203 SetCurrentThemeFromThemeSpecifics( const sync_pb::ThemeSpecifics& theme_specifics) argument 322 ProcessNewTheme( syncer::SyncChange::SyncChangeType change_type, const sync_pb::ThemeSpecifics& theme_specifics) argument [all...] |
H A D | theme_syncable_service_unittest.cc | 28 #include "sync/protocol/theme_specifics.pb.h" 226 const sync_pb::ThemeSpecifics& theme_specifics) { 229 entity_specifics.mutable_theme()->CopyFrom(theme_specifics); 324 sync_pb::ThemeSpecifics theme_specifics; local 325 theme_specifics.set_use_system_theme_by_default(true); 330 syncer::THEMES, MakeThemeDataList(theme_specifics), 339 sync_pb::ThemeSpecifics theme_specifics; local 340 theme_specifics.set_use_custom_theme(true); 341 theme_specifics.set_custom_theme_id(theme_extension_->id()); 342 theme_specifics 225 MakeThemeDataList( const sync_pb::ThemeSpecifics& theme_specifics) argument 388 const sync_pb::ThemeSpecifics& theme_specifics = local 406 const sync_pb::ThemeSpecifics& theme_specifics = local 432 sync_pb::ThemeSpecifics theme_specifics; local 523 sync_pb::ThemeSpecifics theme_specifics; local 551 sync_pb::ThemeSpecifics theme_specifics; local 590 sync_pb::ThemeSpecifics theme_specifics; local [all...] |
Completed in 927 milliseconds