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

Side by Side Diff: chrome/renderer/external_extension.cc

Issue 3119035: FBTF: Move individual XXXMsg_Params structs to a new file. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix comment Created 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/external_extension.h" 5 #include "chrome/renderer/external_extension.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/common/chrome_switches.h" 8 #include "chrome/common/chrome_switches.h"
9 #include "chrome/common/render_messages_params.h"
9 #include "chrome/renderer/render_view.h" 10 #include "chrome/renderer/render_view.h"
10 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h" 11 #include "third_party/WebKit/WebKit/chromium/public/WebFrame.h"
11 #include "v8/include/v8.h" 12 #include "v8/include/v8.h"
12 13
13 using WebKit::WebFrame; 14 using WebKit::WebFrame;
14 using WebKit::WebView; 15 using WebKit::WebView;
15 16
16 namespace extensions_v8 { 17 namespace extensions_v8 {
17 18
18 #define SEARCH_PROVIDER_API_V1 \ 19 #define SEARCH_PROVIDER_API_V1 \
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 return v8::ThrowException(v8::Exception::Error(v8::String::Empty())); 136 return v8::ThrowException(v8::Exception::Error(v8::String::Empty()));
136 } 137 }
137 return v8::Integer::New(install.state); 138 return v8::Integer::New(install.state);
138 } 139 }
139 140
140 v8::Extension* ExternalExtension::Get() { 141 v8::Extension* ExternalExtension::Get() {
141 return new ExternalExtensionWrapper(); 142 return new ExternalExtensionWrapper();
142 } 143 }
143 144
144 } // namespace extensions_v8 145 } // namespace extensions_v8
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_process_bindings.cc ('k') | chrome/renderer/indexed_db_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698