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

Side by Side Diff: apps/shell/browser/shell_app_sorting.cc

Issue 397903002: Do not assign launch ordinals to ephemeral apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ephemapp_unload_review
Patch Set: Minor clean up Created 6 years, 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "apps/shell/browser/shell_app_sorting.h" 5 #include "apps/shell/browser/shell_app_sorting.h"
6 6
7 #include "sync/api/string_ordinal.h" 7 #include "sync/api/string_ordinal.h"
8 8
9 namespace { 9 namespace {
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 int ShellAppSorting::PageStringOrdinalAsInteger( 93 int ShellAppSorting::PageStringOrdinalAsInteger(
94 const syncer::StringOrdinal& page_ordinal) const { 94 const syncer::StringOrdinal& page_ordinal) const {
95 return 0; 95 return 0;
96 } 96 }
97 97
98 syncer::StringOrdinal ShellAppSorting::PageIntegerAsStringOrdinal( 98 syncer::StringOrdinal ShellAppSorting::PageIntegerAsStringOrdinal(
99 size_t page_index) { 99 size_t page_index) {
100 return syncer::StringOrdinal(kFirstPage); 100 return syncer::StringOrdinal(kFirstPage);
101 } 101 }
102 102
103 void ShellAppSorting::MarkExtensionAsHidden( 103 void ShellAppSorting::SetExtensionVisible(const std::string& extension_id,
104 const std::string& extension_id) { 104 bool visible) {
105 } 105 }
106 106
107 } // namespace apps 107 } // namespace apps
OLDNEW
« no previous file with comments | « apps/shell/browser/shell_app_sorting.h ('k') | chrome/browser/apps/ephemeral_app_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698