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

Side by Side Diff: chrome/browser/extensions/extension_tab_id_map.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_ID_MAP_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_ID_MAP_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_ID_MAP_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_ID_MAP_H_
7 #pragma once
8 7
9 #include <map> 8 #include <map>
10 #include <utility> 9 #include <utility>
11 10
12 #include "base/basictypes.h" 11 #include "base/basictypes.h"
13 #include "base/memory/singleton.h" 12 #include "base/memory/singleton.h"
14 13
15 // This class keeps track of a map between renderer IDs and tab/window IDs, for 14 // This class keeps track of a map between renderer IDs and tab/window IDs, for
16 // use on the IO thread. All methods should be called on the IO thread except 15 // use on the IO thread. All methods should be called on the IO thread except
17 // for Init and Shutdown. 16 // for Init and Shutdown.
(...skipping 29 matching lines...) Expand all
47 void ClearTabAndWindowId( 46 void ClearTabAndWindowId(
48 int render_process_host_id, int routing_id); 47 int render_process_host_id, int routing_id);
49 48
50 TabObserver* observer_; 49 TabObserver* observer_;
51 TabAndWindowIdMap map_; 50 TabAndWindowIdMap map_;
52 51
53 DISALLOW_COPY_AND_ASSIGN(ExtensionTabIdMap); 52 DISALLOW_COPY_AND_ASSIGN(ExtensionTabIdMap);
54 }; 53 };
55 54
56 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_ID_MAP_H_ 55 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_ID_MAP_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_helper.h ('k') | chrome/browser/extensions/extension_tab_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698