1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_UI_STARTUP_STARTUP_TYPES_H_ 6 #define CHROME_BROWSER_UI_STARTUP_STARTUP_TYPES_H_ 7 8 namespace chrome { 9 namespace startup { 10 11 enum IsProcessStartup { 12 IS_NOT_PROCESS_STARTUP, // Session is being created when a Chrome process is 13 // already running, e.g. clicking on a taskbar icon 14 // when Chrome is already running, or restoring a 15 // profile. 16 IS_PROCESS_STARTUP // Session is being created when the Chrome process 17 // is not already running. 18 }; 19 20 enum IsFirstRun { 21 IS_NOT_FIRST_RUN, // Session is being created after Chrome has already 22 // been run at least once on the system. 23 IS_FIRST_RUN // Session is being created immediately after Chrome 24 // has been installed on the system. 25 }; 26 27 } // namespace startup 28 } // namespace chrome 29 30 #endif // CHROME_BROWSER_UI_STARTUP_STARTUP_TYPES_H_ 31