This source file includes following definitions.
- SetExtensionScopedPrefs
- SetExtensionSyncService
- Initialize
- FixNTPOrdinalCollisions
- EnsureValidOrdinals
- OnExtensionMoved
- GetAppLaunchOrdinal
- SetAppLaunchOrdinal
- CreateFirstAppLaunchOrdinal
- CreateNextAppLaunchOrdinal
- CreateFirstAppPageOrdinal
- GetNaturalAppPageOrdinal
- GetPageOrdinal
- SetPageOrdinal
- ClearOrdinals
- PageStringOrdinalAsInteger
- PageIntegerAsStringOrdinal
- MarkExtensionAsHidden
#include "apps/shell/browser/shell_app_sorting.h"
#include "sync/api/string_ordinal.h"
namespace {
const char kFirstApp[] = "a";
const char kNextApp[] = "b";
const char kFirstPage[] = "a";
}
namespace apps {
ShellAppSorting::ShellAppSorting() {
}
ShellAppSorting::~ShellAppSorting() {
}
void ShellAppSorting::SetExtensionScopedPrefs(
extensions::ExtensionScopedPrefs* prefs) {
}
void ShellAppSorting::SetExtensionSyncService(
ExtensionSyncService* extension_sync_service) {
}
void ShellAppSorting::Initialize(
const extensions::ExtensionIdList& extension_ids) {
}
void ShellAppSorting::FixNTPOrdinalCollisions() {
}
void ShellAppSorting::EnsureValidOrdinals(
const std::string& extension_id,
const syncer::StringOrdinal& suggested_page) {
}
void ShellAppSorting::OnExtensionMoved(
const std::string& moved_extension_id,
const std::string& predecessor_extension_id,
const std::string& successor_extension_id) {
}
syncer::StringOrdinal ShellAppSorting::GetAppLaunchOrdinal(
const std::string& extension_id) const {
return syncer::StringOrdinal(kFirstApp);
}
void ShellAppSorting::SetAppLaunchOrdinal(
const std::string& extension_id,
const syncer::StringOrdinal& new_app_launch_ordinal) {
}
syncer::StringOrdinal ShellAppSorting::CreateFirstAppLaunchOrdinal(
const syncer::StringOrdinal& page_ordinal) const {
return syncer::StringOrdinal(kFirstApp);
}
syncer::StringOrdinal ShellAppSorting::CreateNextAppLaunchOrdinal(
const syncer::StringOrdinal& page_ordinal) const {
return syncer::StringOrdinal(kNextApp);
}
syncer::StringOrdinal ShellAppSorting::CreateFirstAppPageOrdinal() const {
return syncer::StringOrdinal(kFirstPage);
}
syncer::StringOrdinal ShellAppSorting::GetNaturalAppPageOrdinal() const {
return syncer::StringOrdinal(kFirstPage);
}
syncer::StringOrdinal ShellAppSorting::GetPageOrdinal(
const std::string& extension_id) const {
return syncer::StringOrdinal(kFirstPage);
}
void ShellAppSorting::SetPageOrdinal(
const std::string& extension_id,
const syncer::StringOrdinal& new_page_ordinal) {
}
void ShellAppSorting::ClearOrdinals(const std::string& extension_id) {
}
int ShellAppSorting::PageStringOrdinalAsInteger(
const syncer::StringOrdinal& page_ordinal) const {
return 0;
}
syncer::StringOrdinal ShellAppSorting::PageIntegerAsStringOrdinal(
size_t page_index) {
return syncer::StringOrdinal(kFirstPage);
}
void ShellAppSorting::MarkExtensionAsHidden(
const std::string& extension_id) {
}
}