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

Side by Side Diff: extensions/browser/user_script_loader.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "extensions/browser/user_script_loader.h" 5 #include "extensions/browser/user_script_loader.h"
6 6
7 #include <stddef.h>
8
7 #include <set> 9 #include <set>
8 #include <string> 10 #include <string>
9 #include <utility> 11 #include <utility>
10 12
11 #include "base/version.h" 13 #include "base/version.h"
12 #include "content/public/browser/browser_context.h" 14 #include "content/public/browser/browser_context.h"
13 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/notification_service.h" 16 #include "content/public/browser/notification_service.h"
15 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
16 #include "content/public/browser/render_process_host.h" 18 #include "content/public/browser/render_process_host.h"
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 if (!shared_memory->ShareToProcess(handle, &handle_for_process)) 400 if (!shared_memory->ShareToProcess(handle, &handle_for_process))
399 return; // This can legitimately fail if the renderer asserts at startup. 401 return; // This can legitimately fail if the renderer asserts at startup.
400 402
401 if (base::SharedMemory::IsHandleValid(handle_for_process)) { 403 if (base::SharedMemory::IsHandleValid(handle_for_process)) {
402 process->Send(new ExtensionMsg_UpdateUserScripts( 404 process->Send(new ExtensionMsg_UpdateUserScripts(
403 handle_for_process, host_id(), changed_hosts, whitelisted_only)); 405 handle_for_process, host_id(), changed_hosts, whitelisted_only));
404 } 406 }
405 } 407 }
406 408
407 } // namespace extensions 409 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/user_script_loader.h ('k') | extensions/browser/value_store/leveldb_value_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698