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

Side by Side Diff: chrome/browser/search/local_ntp_source.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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/browser/search/local_ntp_source.h" 5 #include "chrome/browser/search/local_ntp_source.h"
6 6
7 #include <stddef.h>
8
7 #include "base/command_line.h" 9 #include "base/command_line.h"
8 #include "base/json/json_string_value_serializer.h" 10 #include "base/json/json_string_value_serializer.h"
9 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/macros.h"
10 #include "base/memory/ref_counted_memory.h" 13 #include "base/memory/ref_counted_memory.h"
11 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
12 #include "base/metrics/field_trial.h" 15 #include "base/metrics/field_trial.h"
13 #include "base/strings/string_util.h" 16 #include "base/strings/string_util.h"
14 #include "base/strings/stringprintf.h" 17 #include "base/strings/stringprintf.h"
15 #include "base/strings/utf_string_conversions.h" 18 #include "base/strings/utf_string_conversions.h"
16 #include "base/values.h" 19 #include "base/values.h"
17 #include "build/build_config.h" 20 #include "build/build_config.h"
18 #include "chrome/browser/search/instant_io_context.h" 21 #include "chrome/browser/search/instant_io_context.h"
19 #include "chrome/browser/search/local_files_ntp_source.h" 22 #include "chrome/browser/search/local_files_ntp_source.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 } 266 }
264 } 267 }
265 return false; 268 return false;
266 } 269 }
267 270
268 std::string LocalNtpSource::GetContentSecurityPolicyFrameSrc() const { 271 std::string LocalNtpSource::GetContentSecurityPolicyFrameSrc() const {
269 // Allow embedding of most visited iframes. 272 // Allow embedding of most visited iframes.
270 return base::StringPrintf("frame-src %s;", 273 return base::StringPrintf("frame-src %s;",
271 chrome::kChromeSearchMostVisitedUrl); 274 chrome::kChromeSearchMostVisitedUrl);
272 } 275 }
OLDNEW
« no previous file with comments | « chrome/browser/search/local_ntp_source.h ('k') | chrome/browser/search/most_visited_iframe_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698