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

Side by Side Diff: chrome/renderer/extensions/chrome_v8_extension.h

Issue 9159005: Move operator<< for StringPiece into string_piece.{h,cc} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix license Created 8 years, 11 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
« no previous file with comments | « base/string_piece.cc ('k') | net/dns/dns_transaction.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 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 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_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_
6 #define CHROME_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_ 6 #define CHROME_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/memory/linked_ptr.h" 10 #include "base/memory/linked_ptr.h"
11 #include "base/string_piece.h"
11 #include "chrome/renderer/extensions/chrome_v8_extension_handler.h" 12 #include "chrome/renderer/extensions/chrome_v8_extension_handler.h"
12 #include "v8/include/v8.h" 13 #include "v8/include/v8.h"
13 14
14 #include <map> 15 #include <map>
15 #include <set> 16 #include <set>
16 #include <string> 17 #include <string>
17 18
18 class ChromeV8Context; 19 class ChromeV8Context;
19 class Extension; 20 class Extension;
20 class ExtensionDispatcher; 21 class ExtensionDispatcher;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 96
96 // Map of all current handlers. 97 // Map of all current handlers.
97 typedef std::map<ChromeV8Context*, 98 typedef std::map<ChromeV8Context*,
98 linked_ptr<ChromeV8ExtensionHandler> > HandlerMap; 99 linked_ptr<ChromeV8ExtensionHandler> > HandlerMap;
99 HandlerMap handlers_; 100 HandlerMap handlers_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(ChromeV8Extension); 102 DISALLOW_COPY_AND_ASSIGN(ChromeV8Extension);
102 }; 103 };
103 104
104 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_ 105 #endif // CHROME_RENDERER_EXTENSIONS_CHROME_V8_EXTENSION_H_
OLDNEW
« no previous file with comments | « base/string_piece.cc ('k') | net/dns/dns_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698