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

Side by Side Diff: chrome/renderer/automation/dom_automation_v8_extension.cc

Issue 7767011: Split extension_base.* out of bindings_utils.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/extensions/bindings_utils.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) 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 #include "chrome/renderer/automation/dom_automation_v8_extension.h" 5 #include "chrome/renderer/automation/dom_automation_v8_extension.h"
6 6
7 #include "chrome/renderer/extensions/bindings_utils.h" 7 #include "chrome/renderer/extensions/extension_base.h"
8 #include "grit/renderer_resources.h" 8 #include "grit/renderer_resources.h"
9 9
10 using bindings_utils::GetStringResource;
11
12 const char* DomAutomationV8Extension::kName = "chrome/domautomation"; 10 const char* DomAutomationV8Extension::kName = "chrome/domautomation";
13 11
14 v8::Extension* DomAutomationV8Extension::Get() { 12 v8::Extension* DomAutomationV8Extension::Get() {
15 static v8::Extension* extension = 13 static v8::Extension* extension =
16 new v8::Extension( 14 new v8::Extension(
17 kName, GetStringResource(IDR_DOM_AUTOMATION_JS), 0, NULL); 15 kName, ExtensionBase::GetStringResource(IDR_DOM_AUTOMATION_JS), 0,
16 NULL);
18 return extension; 17 return extension;
19 } 18 }
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/renderer/extensions/bindings_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698