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

Side by Side Diff: extensions/renderer/activity_log_converter_strategy.cc

Issue 268553002: Move DOMActivityLogger and associated code from //chrome to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/extensions/activity_log_converter_strategy.h" 5 #include "extensions/renderer/activity_log_converter_strategy.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/common/extensions/ad_injection_constants.h" 9 #include "extensions/common/ad_injection_constants.h"
10 #include "v8/include/v8.h" 10 #include "v8/include/v8.h"
11 11
12 namespace extensions { 12 namespace extensions {
13 13
14 namespace { 14 namespace {
15 15
16 typedef ActivityLogConverterStrategy::FromV8ValueCallback FromV8ValueCallback; 16 typedef ActivityLogConverterStrategy::FromV8ValueCallback FromV8ValueCallback;
17 17
18 namespace constants = ad_injection_constants; 18 namespace constants = ad_injection_constants;
19 namespace keys = constants::keys; 19 namespace keys = constants::keys;
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 if (enable_detailed_parsing_) 180 if (enable_detailed_parsing_)
181 parsed_value = ParseV8Object(isolate, *value, callback); 181 parsed_value = ParseV8Object(isolate, *value, callback);
182 if (!parsed_value.get()) 182 if (!parsed_value.get())
183 parsed_value = SummarizeV8Value(isolate, value); 183 parsed_value = SummarizeV8Value(isolate, value);
184 *out = parsed_value.release(); 184 *out = parsed_value.release();
185 185
186 return true; 186 return true;
187 } 187 }
188 188
189 } // namespace extensions 189 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/renderer/activity_log_converter_strategy.h ('k') | extensions/renderer/activity_log_converter_strategy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698