Unregister from GCM when the only GCM app is removed
[chromium-blink-merge.git] / chrome / renderer / isolated_world_ids.h
blob552ac96f9c248cddfa3b2eacf06c7865028936eb
1 // Copyright (c) 2013 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.
5 #ifndef CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
6 #define CHROME_RENDERER_ISOLATED_WORLD_IDS_H_
8 namespace chrome {
10 enum IsolatedWorldIDs {
11 // Chrome can not use ID 0 for isolated world.
12 ISOLATED_WORLD_ID_GLOBAL = 0,
13 // Isolated world ID for Chrome Translate.
14 ISOLATED_WORLD_ID_TRANSLATE,
16 // Numbers for isolated worlds for extensions are set in
17 // extensions/renderer/script_injection.cc, and are are greater than or equal
18 // to this number.
19 ISOLATED_WORLD_ID_EXTENSIONS
22 } // namespace chrome
24 #endif // CHROME_RENDERER_ISOLATED_WORLD_IDS_H_