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

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

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
« no previous file with comments | « no previous file | apps/shell/browser/shell_app_sorting.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ 5 #ifndef APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_
6 #define APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ 6 #define APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "extensions/browser/app_sorting.h" 9 #include "extensions/browser/app_sorting.h"
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 virtual syncer::StringOrdinal GetPageOrdinal( 46 virtual syncer::StringOrdinal GetPageOrdinal(
47 const std::string& extension_id) const OVERRIDE; 47 const std::string& extension_id) const OVERRIDE;
48 virtual void SetPageOrdinal( 48 virtual void SetPageOrdinal(
49 const std::string& extension_id, 49 const std::string& extension_id,
50 const syncer::StringOrdinal& new_page_ordinal) OVERRIDE; 50 const syncer::StringOrdinal& new_page_ordinal) OVERRIDE;
51 virtual void ClearOrdinals(const std::string& extension_id) OVERRIDE; 51 virtual void ClearOrdinals(const std::string& extension_id) OVERRIDE;
52 virtual int PageStringOrdinalAsInteger( 52 virtual int PageStringOrdinalAsInteger(
53 const syncer::StringOrdinal& page_ordinal) const OVERRIDE; 53 const syncer::StringOrdinal& page_ordinal) const OVERRIDE;
54 virtual syncer::StringOrdinal PageIntegerAsStringOrdinal( 54 virtual syncer::StringOrdinal PageIntegerAsStringOrdinal(
55 size_t page_index) OVERRIDE; 55 size_t page_index) OVERRIDE;
56 virtual void MarkExtensionAsHidden(const std::string& extension_id) OVERRIDE; 56 virtual void SetExtensionVisible(const std::string& extension_id,
57 bool visible) OVERRIDE;
57 58
58 private: 59 private:
59 DISALLOW_COPY_AND_ASSIGN(ShellAppSorting); 60 DISALLOW_COPY_AND_ASSIGN(ShellAppSorting);
60 }; 61 };
61 62
62 } // namespace apps 63 } // namespace apps
63 64
64 #endif // APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_ 65 #endif // APPS_SHELL_BROWSER_SHELL_APP_SORTING_H_
OLDNEW
« no previous file with comments | « no previous file | apps/shell/browser/shell_app_sorting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698