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

Unified Diff: extensions/shell/browser/shell_app_sorting.cc

Issue 549663002: Move AppWindowGeometryCacheTest to extensions_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (app-window) rebase 2 Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: extensions/shell/browser/shell_app_sorting.cc
diff --git a/extensions/shell/browser/shell_app_sorting.cc b/extensions/shell/browser/shell_app_sorting.cc
deleted file mode 100644
index 146de59eff65feee5d1e82891c69844c82c261b8..0000000000000000000000000000000000000000
--- a/extensions/shell/browser/shell_app_sorting.cc
+++ /dev/null
@@ -1,105 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "extensions/shell/browser/shell_app_sorting.h"
-
-#include "sync/api/string_ordinal.h"
-
-namespace {
-
-// Ordinals for a single app on a single page.
-const char kFirstApp[] = "a";
-const char kNextApp[] = "b";
-const char kFirstPage[] = "a";
-
-} // namespace
-
-namespace extensions {
-
-ShellAppSorting::ShellAppSorting() {
-}
-
-ShellAppSorting::~ShellAppSorting() {
-}
-
-void ShellAppSorting::SetExtensionScopedPrefs(ExtensionScopedPrefs* prefs) {
-}
-
-void ShellAppSorting::SetExtensionSyncService(
- ExtensionSyncService* extension_sync_service) {
-}
-
-void ShellAppSorting::Initialize(const 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::SetExtensionVisible(const std::string& extension_id,
- bool visible) {
-}
-
-} // namespace extensions
« no previous file with comments | « extensions/shell/browser/shell_app_sorting.h ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698